A simple Todo API built with Rust, Actix-web, Sqlx and PostgreSQL.
Try to learn rust by building a simple todo app.
- Rust and Cargo (for development)
- Docker and Docker Compose
- Start the todo-app and PostgreSQL database:
docker-compose up -d
- The API will be available at http://localhost:8080
GET /api/todos
- List all todosPOST /api/todos
- Create a new todoGET /api/todos/{id}
- Get a specific todoPUT /api/todos/{id}
- Update a todoDELETE /api/todos/{id}
- Delete a todo