This project is final test that RocketSeat Ignite NodeJS
- It is necessary to install serverless
- You can install serverless using this link
- https://www.serverless.com/framework/docs/getting-started
- yarn or npm instal
- serverless dynamodb install
- yarn dynamo:start
- yarn dev
It will lauch the application
- POST
- url: http://localhost:3000/dev/users
- body: {"name": "your name","email": "[email protected]"}
- POST
- http://localhost:3000/dev/todos/{userId}
- { "title": "some title", "deadline": "{% now 'iso-8601', '' %} }
- GET
- http://localhost:3000/dev/todos/{userId}
- No body
- GET
- http://localhost:3000/dev/todos/find/{todo_id}
- No body
- PATCH
- http://localhost:3000/dev/todos/{userId}/done/{todoId}
- No Body