HealthNotebook is a sample ASP.NET Core 8 Web API project built for
learning and experimentation.
It demonstrates the use of Entity Framework Core, SQLite, and a clean
architecture approach with multiple layers:
- HealthNotebook.Api β ASP.NET Core Web API (controllers, endpoints, Swagger)\
- HealthNotebook.DataService β Database context and persistence logic (EF Core + SQLite)\
- HealthNotebook.Entities β Entities/models layer
- ASP.NET Core 8 Web API with REST endpoints\
- EF Core + SQLite integration\
- Swagger UI documentation\
- UserController example with CRUD operations\
- Ready-to-extend architecture for real-world projects
HealthNotebook/
βββ HealthNotebook.Api/ # API layer (controllers, program setup)
βββ HealthNotebook.DataService/ # Data persistence (DbContext, migrations)
βββ HealthNotebook.Entities/ # Entities/models layer
βββ HealthNotebook.sln # Solution file
-
Clone the repository
git clone https://github.com/your-username/HealthNotebook.git cd HealthNotebook -
Restore dependencies
dotnet restore
-
Run the project
dotnet run --project HealthNotebook.Api
-
Open Swagger UI in your browser:
π http://localhost:5026/swagger
GET api/user/testrun
Returns:
"Test run successful"This project is licensed under the MIT License -- see the LICENSE file for details.