Overview.mp4
All of the project's functionality works with just the web application running. However, project requires connections to Postgres(optionally from v1.0.14) and Redis. By default in the development mode project uses in-memory database, if you want to use real Postgres database you should override parameter in appsettings.Development.json
"UseInMemoryDatabase": true,to false. Then you should override your authorization secrets and connection strings by your own values:
"ConnectionStrings": {
"ShopConnection":
"Host=<YOUR-HOST>;Port=<YOUR-PORT>;Database=<YOUR-DATABASE-NAME>;Username=<YOUR-USERNAME>;Password=<YOUR-PASSWORD>;",
"IdentityConnection":
"Host=<YOUR-HOST>;Port=<YOUR-PORT>;Database=<YOUR-DATABASE-NAME>;Username=<YOUR-USERNAME>;Password=<YOUR-PASSWORD>;",
"RedisConnection": "redis://localhost:6379" //Default redis docker port
},
"JwtSettings": {
"Issuer": "<YOUR-VALUE>",
"Audience": "<YOUR-VALUE>",
"SecretKey": "<YOUR-VALUE>",
"TokenLifetimeMinutes": 2880 //48 hours
},Then you can access localhost:7068/account/login.
You can simply run docker-compose in project which will automatically download, configure and start all dependencies with command
docker-compose -f "docker-compose.yml" up -dThen you can access localhost:5001/account/login.