E-commerce WebApi for selling fresh products directly from local vendors.
dotnet user-secrets init -p API/
dotnet user-secrets set "ConnectionStrings:PostgreSQL" "Host=localhost; Database=swieze; Username=postgres; Password=swiezeWarzywa" -p API/
dotnet user-secrets set "TokenKey" "very secur password" -p API/
- Setup Cloudinary
type .\input.json | dotnet user-secrets set -p API/
cat ./input.json | dotnet user-secrets set -p API/
- Stripe
dotnet user-secrets set "Stripe" "<StripeSecretKey>" -p Api
docker-compose up
or Rider Configuration- Run project
dotnet user-secrets init -p Application.IntegrationTests/
dotnet user-secrets set "ConnectionStrings:PostgreSQL" "Host=localhost; Database=swiezeTest; Username=postgres; Password=swiezeWarzywa" -p Application.IntegrationTests/
dotnet user-secrets set "TokenKey" "very secur password" -p Application.IntegrationTests/
dotnet test
or your run tests in your IDE- Setup Cloudinary
type ./input.json | dotnet user-secrets set -p Application.IntegrationTests
cat ./input.json | dotnet user-secrets set -p Application.IntegrationTests
- Stripe
dotnet user-secrets set "Stripe" "<StripeSecretKey>" -p Application.IntegrationTests