Skip to content

C# API - system for managing and implementing habits.

Notifications You must be signed in to change notification settings

zeicq/HabitTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HabitTracker - system for managing and implementing habits.

  1. Change connection parameters in WebApi for sql server: WebApi/appsettings.json: DefaultConnection": "secret.json"

  2. Change the key to the jwt section in WebApi/appsettings.json: Key": "secret.json"

  3. Run commands in the WebApi project:

dotnet restore

dotnet ef database update

Default Roles

Default Roles are as follows.

  • Admin
  • User

Default credentials

Database

Database

API endpoints

Database

Features

  • Onion Architecture
  • CQRS with MediatR
  • MediatR Pipeline Logging & Validation
  • MediatR Notification
  • Entity Framework Core - Code First
  • Repository Pattern
  • Fluent Validation
  • Automapper
  • SMTP - EmailService
  • BackgroundJob - Hangfire
  • Microsoft Identity (Users/Role/UserInRoles)
  • Role based Authorization
  • User Management Module (register / generate token)
  • Redis Caching
  • InMemory Caching
  • SQL Server Database
  • Seeding Users
  • Custom Exception Handling Middlewares
  • Pagination
  • Serilog/NLog
  • Swagger UI
  • Response Wrappers
  • Unit tests (Moq, Fluent Assertions, Bogus)
  • Integrated tests

About

C# API - system for managing and implementing habits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages