RESTful blog API using ASP.NET, EF Core, and SQLite. Provides full CRUD operations.
- Create, read, update, and delete blog posts
- persistent storage using relational database
- API documentation with Swagger
- RESTful endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/Posts | Gets all posts |
| POST | /api/Posts | Create post |
| GET | /api/Posts/{id} | Get post by ID |
| PUT | /api/Posts/{id} | Update existing specified post |
| DELETE | /api/Posts/{id} | Delete specified post |
- clone repo
- build solution to restore NuGet packages
- create local database
Add-Migration DBName
update-Database- run project