Small ToDo Web API using in memory DB context
- Have all the dotnet core prerequist (https://www.microsoft.com/net/core)
- Clone this repository
- Run
dotnet restore
to install all NuGet package - Launch the app
dotner run
- Get all todo
- get:
/api/todo
- get:
- Get on todo
- get:
/api/todo/{id}
- get:
- Create a todo
- post:
/api/todo
with json payload :{ "name":"Drink Rhum", "isCompleted":false }
- post:
- Update a todo
- put:
/api/todo/{id}
with json payload :{ "name":"Drink Rhum", "isCompleted":true }
- put:
- Delete a todo
- delete:
/api/todo/{id}
- delete: