A simple REST API for managing a to-do list.
- Live Demo: [https://todo-api-o4am.onrender.com]
- Endpoints:
GET /
: Welcome messageGET /todos
: List all todosPOST /todos
: Create a todo (body:{ "task": "string" }
)PUT /todos/:id
: Update a todoDELETE /todos/:id
: Delete a todo
- Test with:
curl
or Postman