DEV Community

Discussion on: Build and Deploy a Rest API Using Serverless, Express, and Nodejs

Collapse
 
magnusriga profile image
Magnus

Sai, great guide!

Question: From your examples it looks like serverless (Lambda, Functions, or other) just sits right before the express layer and routes/passes all incoming HTTP traffic directly on to express. Given that express was handling the routes just fine by itself, before we introduced serverless, what's the purpose of it? Why do we want serverless in there, just passing requests on?

Thank you