2024-06-19 22:57:29 +03:00
2024-06-19 22:57:29 +03:00

Backend

ApiService

Database connection in appsettings.json: username:postgres password:postgres host:localhost port:5432 database:prod

if no migrations

dotnet ef migrations add UserContextMigration --context UserContext dotnet ef database update --context UserContext

dotnet ef migrations add WeatherForecastContextMigration --context WeatherForecastContext dotnet ef database update --context WeatherForecastContext

and etc for each dbcontext in project

if you have Migrations folder in ApiService project just call (in dev mode app) post: /api/db/migrate

/api/swagger - path to swagger

Description
No description provided
Readme 336 KiB
Languages
C# 80.4%
CSS 10.3%
HTML 7.9%
Dockerfile 1.4%