DEV Community

Discussion on: How do You Structure Your Code When Moving Your API from Express to Serverless Functions?

Collapse
 
juanitomint profile image
Juan Ignacio Borda

My 2cents on this, before code make the definition document with swagger editor (now open API) if you don't know learn this first as it will make your API more portable, then code it on express directly, once is up and running you can stay a migration to serverless endpoint by endpoint

Pd swagger editor can create servers and clients from a definition file automatically