- Rename
.env.sampleto.envand update the content npm startfor production andnpm run start:devfor 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