/Adverto

The advertisement API built on .NET Core 3.1

Primary LanguageC#GNU General Public License v3.0GPL-3.0

Adverto

Codacy Badge FOSSA Status

The advertisement API built on .NET Core 3.1 following the Clean Architecture and CQRS with Azure Cognitive Services interaction.

How to setup

  1. Set database connection strings inside of appsettings.Persistence.json.
  2. Configure connection to the Azure inside of appsettings.Azure.json.
  3. Configure CORS inside of appsettings.CORS.json.
  4. Run migrations:
  • dotnet ef database update --project="src/Persistence.Primary" --startup-project="src/Presentation.API" --context=AdvertoDbContext
  • dotnet ef database update --project="src/Persistence.Logging" --startup-project="src/Presentation.API" --context=AdvertoLoggingDbContext
  1. Run the project to seed the database.

License

FOSSA Status