Clone the project
git clone https://github.com/U-sama/TodoList.git
Go to the project directory
cd TodoList
Start the server
docker-compose up
http://localhost:8080/api/Todos
https://localhost:8081/api/Todos
GET /api/Todos
[
{
"id": 1,
"name": "Do Home work",
"isComplete": true
},
{
"id": 2,
"name": "Play Football",
"isComplete": false
},
{
"id": 3,
"name": "Eat Breakfast",
"isComplete": false
}
]
GET /api/Todos/2
{
"id": 2,
"name": "Play football",
"isComplete": false
}
POST /api/Todos
{
"name": "Visit Relatives",
"isComplete": true
}
{
"id": 4,
"name": "Visit Relatives",
"isComplete": true
}
PUT /api/Todos/4
{
"id": 4,
"name": "Visit Uncle",
"isComplete": true
}
DELETE /api/Todos/4
Server: .Net, Docker, docker-compose
Database: Postgres