Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.51 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.51 KB

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