A lightweight REST API for managing notes, built with .NET 8 Minimal APIs.
- Full CRUD for notes (create, read, update, delete)
- Tag-based organization
- Full-text search across titles, content, and tags
- JSON file storage — no database required
- Swagger/OpenAPI documentation
| Method | Route | Description |
|---|---|---|
| GET | /api/notes |
List all notes |
| GET | /api/notes/{id} |
Get a note by ID |
| POST | /api/notes |
Create a note |
| PUT | /api/notes/{id} |
Update a note |
| DELETE | /api/notes/{id} |
Delete a note |
| GET | /api/notes/search?q= |
Search notes |
dotnet runThen open http://localhost:5168/swagger to explore the API.
- C# / .NET 8
- Minimal APIs
- Swagger / OpenAPI
- JSON file persistence