Skip to content

AlabbasiMohammad/HealthNotebook

Repository files navigation

HealthNotebook πŸ©ΊπŸ“˜

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

πŸš€ Features

  • 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

πŸ› οΈ Tech Stack


πŸ“‚ Project Structure

HealthNotebook/
β”œβ”€β”€ HealthNotebook.Api/          # API layer (controllers, program setup)
β”œβ”€β”€ HealthNotebook.DataService/  # Data persistence (DbContext, migrations)
β”œβ”€β”€ HealthNotebook.Entities/     # Entities/models layer
└── HealthNotebook.sln           # Solution file

▢️ Getting Started

  1. Clone the repository

    git clone https://github.com/your-username/HealthNotebook.git
    cd HealthNotebook
  2. Restore dependencies

    dotnet restore
  3. Run the project

    dotnet run --project HealthNotebook.Api
  4. Open Swagger UI in your browser:
    πŸ‘‰ http://localhost:5026/swagger


πŸ§ͺ Example Endpoint

GET api/user/testrun
Returns:

"Test run successful"

πŸ“œ License

This project is licensed under the MIT License -- see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages