docker compose -f docker-compose.yaml up
- GET
curl -X GET http://localhost:3000/tasks
- POST
curl -X POST http://localhost:3000/tasks \
-H "Content-Type: application/json" \
-d '{"task": "Deploy App", "status": "1"}'
- GET Item
curl -X GET http://localhost:3000/tasks/1
- PUT
curl -X PUT http://localhost:3000/tasks/1
-H "Content-Type: application/json" \
-d '{"task": "Deploy App Update", "status": "0"}'
- DELETE
curl -X DELETE http://localhost:3000/tasks/3