A simple 'To Do' lists application. The App server exposes REST APIs to perform CRUD for the To-Do lists.
App server is in GoLang which uses echo as web framework. MongoDB is used as persistant database to store lists and tasks.
docker-compose up --build
Method: POST
Route: /lists
Content type: application/json
Request Params
Key | Type | Value (example) |
---|---|---|
name | string |
office |
Method: GET
Route: /lists
Method: GET
Route: /lists/:id
Note: id
to be taken from GET /lists API response
Method: DELETE
Route: /lists/:id
Note: id
to be taken from GET /lists API response
Method: POST
Route: /tasks
Content type: application/json
Request Params
Key | Type | Value (example) |
---|---|---|
listId | string (ObjectId) |
5349b4ddd2781d08c09890f3 |
message | string |
Move tasks on jira board |
Note: listId
to be taken from GET /lists API response
Method: PUT
Route: /tasks
Request Params
Key | Type | Value (example) |
---|---|---|
taskId | string (ObjectId) |
5349b4ddd2781d08c09890f3 |
message | string |
Review tasks on jira board |
Note: taskId
to be taken from GET /lists/:id API response
Method: DELETE
Route: /tasks/:id
Note: taskId
to be taken from GET /lists/:id API response