A little app to learn C Sharp and .Net Core
Method | Endpoint | Action |
---|---|---|
GET | todos | Retrieve all todos |
GET | todos/:id | Retrieve todo with id |
PUT | todos/create/:id | Create todo with client-side generated id and a todo at body |
PUT | todos/update-title/:id | Update title of todo with id and title at body |
PUT | todos/complete/:id | Complete todo with id |
PUT | todos/uncomplete/:id | Uncomplete todo with id |
DELETE | todos/remove-all | Remove all todos |
DELETE | todos/remove/:id | Remove todo with id |
docker-compose up -d
Execute database/todo.sql
dotnet run --project apps/Todo/Api