This is a quick learning repository for serverless-express with NestJS on AWS using the Serverless framework. Bootstrap from Vendia
- serverless-sentry for event monitoring 📺
- serverless-plugin-warmup to keep application warm 🔥
- middleware for chain of responsibility pattern
$ npm install
To simulate the app running on Lambda locally, run the following:
$ npm run start
$ npm run sls:offline
The application will be available at http://localhost:3000/dev/hello
.
To deploy the app to AWS, you'll first need to configure your AWS credentials. There are many ways to set your credentials, for more information refer to the AWS documentation.
Once set you can deploy your app using the serverless framework with:
$ npm run sls:deploy