Serverless Realtime Application (Websockets and AWS Lambda)

Serverless Realtime Application (Websockets and AWS Lambda)

Just provide your frontend code (powered by the website component), and your backend code (powered by the socket component). : : : : : : : : backend config to be passed to the socket component : path to the backend code that contains the socket.js file : : : : : frontend config to be passed to the website component : path to the directory that contains your frontend code if you’re using a framework like React, that would be the root of your frontend project, otherwise it’d be where index.html lives. js’ : the contents of this env file the backend api url will be injected by default : :

Checkout the Serverless Components repo for more information.

Source: github.com