45
build Serverless api with DynamoDB with hot reload
source link: https://www.tuicool.com/articles/hit/NRrUJj3
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
serverless-hot-boilerplate
ultimate-hot-boilerplate for serverless, build, test and deploy globally scalable APIs cheaper and faster
Development Experience
-
One command to start local development
make run
(serverless-offline, serverless-local-dynamodb) - Hot Module Reload with code linting and formatting
- Tests linted automatically with jest-runner-eslint
-
absolute path resolve (
..
less) in development and test - test in CI with local dynamodb setup
- use express, dynamoose instead of naked Lambda, Dynamodb API
Development
make install # install deps make setup # install the dynamodb-local make run # start serverless-offline
Todos
- lambda function keep warm in PROD
- health-check
- sentry, log, zipkin tracing, metrics
Related
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK