- dotnet build
- docker run --name postgres -e POSTGRES_PASSWORD=159753 -p 5432:5432 -d postgres:latest
if don't have docker then go to "appsettings.Development.json" on the API folder and find "DefaultConnection" change it to "DefaultConnection": "Data source=datingapp.db". It will create a SQLite database. Then go to ApplicationServiceExtensions.cs file on Extensions folder and find
"opt.UseNpgsql(config.GetConnectionString("DefaultConnection"));" replace this line with "opt.UseSqlite(config.GetConnectionString("DefaultConnection"));" this.
- dotnet run
7. If you change anything on the angular make sure to npm install from the client folder then run ng build
- npm install
- ng build