This project has been generated using the aws-nodejs-typescript
template from the Serverless framework.
Depending on your preferred package manager, follow the instructions below to deploy your project.
Requirements: NodeJS
lts/fermium (v.14.15.0)
.
- Run
yarn
to install the project dependencies - Run
yarn deploy
to deploy this stack to AWS
This template contains 2 lambda functions triggered by an HTTP request made on the provisioned API Gateway REST API:
-
/posttodo/{user_id}
route withPOST
method. The request body must be provided asapplication/json
. The body structure is: { "title": "to study serverless framework", "deadline": "April 16, 2022 22:00:00" } -
/gettodo/{user_id}
route withGET
method.