https://github.com/serverless/demo-todo
An example serverless-todo app
https://github.com/serverless/demo-todo
Last synced: about 1 month ago
JSON representation
An example serverless-todo app
- Host: GitHub
- URL: https://github.com/serverless/demo-todo
- Owner: serverless
- Created: 2020-04-06T13:57:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:58:56.000Z (over 2 years ago)
- Last Synced: 2024-04-09T14:28:10.304Z (about 1 year ago)
- Language: JavaScript
- Size: 1.07 MB
- Stars: 5
- Watchers: 6
- Forks: 3
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless Demo Application: Todo
This is a demo application to showcase several amazing features in the Serverless Framework Pro
dashbaord. Specifically, we showcase:* Monolambda support
* Routes/paths are autodetected from frameworks like Express, Flask and Lambda-API
* Tagging
* Some invocations are tagged and supply an custom object which you can examine in the explorer
* Spans
* The application stores/retrieves data from DynamoDB, randomly we grab the wikipedia page as well to showcase HTTP spans
* Errors
* The application randomly throws errors
* Logging
* Console.log is used in a few places to showcase the dashboards excellent logging support
* Deployments
* The application updates itself and commits its changes to Github every 9 hours (check out the diffs in the serverless.yml for each deploy!)
Serverless Framework Pro's Deployment Engine provides CI/CD and deploys the application after a git commit to different branches
* Layers
* We use a lambda layer to add the `git` binary to our deployer function
* HTTP and Schedule events
* Functions are invoked by HTTP via API Gateway (REST Api) and via a cron scheduler
* Parameters
* The application stores the Github secret access token in Serverless Framework Pro's Parameters store### Implementation details
- This application is deployed via CI/CD (see the `demo-todo` app under the Serverlessteam dashboard)
- The Github access token is from the [email protected] github account