Simplistic template of basic Task Managing Application using MongoDB and Fiber. Please consider using TestAppPostman.json
file for inspiration.
PORT
- Port on which application will be listening of requestsDB_HOST
- URL to reach Mongo instance, e.g. mongodb://root:example@localhost:27017/?maxPoolSize=20&w=majority var
POST /api/todo
- To create new TODOGET /api/todo
- List all TODOs created so farGET /api/todo/:id
- Get TODO by defined IDPUT /api/todo/:id
- Updates TODO by defined ID