How to build a note taking app using Serverless and React on AWS
A Serverless starter that adds ES7 syntax, serverless-offline, linting, environment variables, and unit test support. Part of the Serverless Stack guide.
Serverless Node.js Starter uses the serverless-bundle plugin (an extension of the serverless-webpack plugin) and the serverless-offline plugin. It supports:
- Generating optimized Lambda packages with Webpack
- Use ES7 syntax in your handler functions
- Use
import
andexport
- Use
- Run API Gateway locally
- Use
serverless offline start
- Use
- Support for unit tests
- Run
npm test
to run your tests
- Run
- Sourcemaps for proper error messages
- Error message show the correct line numbers
- Works in production with CloudWatch
- Lint your code with ESLint
- Add environment variables for your stages
- No need to manage Webpack or Babel configs
fuser -k 8000/tcp # dynamodb
fuser -k 9000/tcp # s3
npm run deploy:production