DEV Community

Discussion on: How we built a SaaS with React and AWS

Collapse
 
pschoeps profile image
Patrick Schoeps

This is sweet! Thank you. Maybe this is a dumb question but if Node is your backend and you went serverless, where exactly does it fit into your stack? Do your serverless functions run in a Node runtime?

Collapse
 
ikoichi profile image
Luca Restagno

Hi Patrick!

The way Lambda Functions works is that you select the runtime (Node.js in my case) and you upload the code to execute.

Then you link the Lambda to other services, like API Gateway for instance.
So that when a specific URL is called, your Lambda Function is invoked.

You can plug them into many services, like DB or storage triggers, or AWS AppSync for GraphQL APIs.

The code execution environment and the handling of the runtime are delegated to AWS.

Does it reply to your question?

Collapse
 
pschoeps profile image
Patrick Schoeps

Yeah that makes sense, thanks for answering my question!