- Rename
.env.sample
to.env
and update the content npm start
for production andnpm run start:dev
for development
This API is versioned.
Prefix the endpoint with /api/v1/
GET /users
- get all usersPOST /users
- create a userPUT /users/:id
- update a user with the user idDELETE /users/:id
- delete a user with the user id
GET /todos
- get all todosPOST /todos
- create a todoPUT /todos/:id
- update a todo with the todo idDELETE /todos/:id
- delete a todo with the todo idGET /todos/search?q=query
- Search Todo with title