The advertisement API built on .NET Core 3.1 following the Clean Architecture and CQRS with Azure Cognitive Services interaction.
- Set database connection strings inside of
appsettings.Persistence.json
. - Configure connection to the Azure inside of
appsettings.Azure.json
. - Configure CORS inside of
appsettings.CORS.json
. - 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
- Run the project to seed the database.