Skip to content

BobMakhlin/XNews-backend

Repository files navigation

Codacy Badge FOSSA Status

The news API built on .NET 5 following the Clean Architecture and CQRS with authentication and authorization

How to setup

  1. Set connection strings inside of appsettings.Persistence.json or set them using user-secrets.
  2. Run migrations:
  • dotnet ef database update --project="src/Persistence.Primary" --startup-project="src/Presentation.API" --context=XNewsDbContext
  • dotnet ef database update --project="src/Persistence.Logging" --startup-project="src/Presentation.API" --context=XNewsLoggingDbContext
  • dotnet ef database update --project="src/Infrastructure.Identity" --startup-project="src/Presentation.API" --context=XNewsIdentityDbContext
  1. Configure the JWT in appsettings.JWT.json

License

FOSSA Status

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages