This project has been created using the typescript
, webpack
, serverless-offline
and more to make a great boilerplate from serverless apps Node.js.
Requirements: NodeJS
lts/fermium (v.14.x)
. If you're using nvm, runnvm use
to ensure you're using the same Node version in local and in your lambda's runtime.
- ESLint and Prettier to check and maintain code quality
- Integration tests with Jest.
- GitHub Actions for run tests and collect coverage.
- GitHub Actions for deploy to AWS.
- Run
npm i
to install the project dependencies - Run
npx sls deploy
to deploy this stack to AWS
- Run
serverless offline --httpPort 8001
to emulate. - The application will start on http://localhost:8001/
- @serverless/typescript - provides up-to-date TypeScript definitions for your
serverless.ts
service file - serverless-offline - plugin emulate AWS λ and API Gateway.