This is a simple Todo application built using ASP.NET Core Minimal API with SQLite as the database. The project uses Entity Framework Core (EF Core) as the ORM for data management.
- Add, update, delete, and retrieve todos
- Uses SQLite for database
- Minimal API for a lightweight and efficient web application
- Entity Framework Core as the ORM
- .NET (>=8.0 SDK)
- SQLite
Clone the Repository
git clone https://github.com/monkeyK1n9/TodoAppMinimalAPI
cd TodoAppMinimalAPIOpen the project folder in your terminal. Run the following commands to apply migrations and update the database:
dotnet ef database updateTo run the application locally:
dotnet runThe app will start on http://localhost:5179.
- GET /todos - Get all todos
- GET /todos/{id} - Get a specific todo by ID
- POST /todos - Create a new todo
- PUT /todos/{id} - Update a todo
- DELETE /todos/{id} - Delete a todo Example Todo Model
{
"id": 1,
"title": "Buy groceries",
"isComplete": false
}Contributions are welcome! Please fork this repository and submit pull requests with improvements or bug fixes. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.