This is a boilerplate for building serverless applications using Node.js.
- Clone this repo using git clone
https://github.com/manjunathhakki-apra/Serverless-Boilerplate.git
. - Move to the appropriate directory:
cd Serverless-Boilerplate
. - Run
npm install
to install the dependencies. - Setup the environment variables accordingly for
local
,dev
,staging
andprod
. - Run
npm start
to start the server.
- Modify the
serverless.yml
file to configure your serverless application. - Modify the
handler.ts
file to implement your serverless functions. - Run
serverlessDeploy.mjs
script to deploy your serverless application to AWS Lambda.