NET 8
PostgreSQL
-
Clone the repository:
git clone https://github.com/{repo_link} cd budget-planner-api
-
Restore dependencies:
dotnet restore
-
Update configuration:
Create a
appsettings.json
file in the root directory with the following content:{ "ConnectionStrings": { "DefaultConnection": "Server=your_server_name;Database=BudgetPlannerDb;User Id=your_user_id;Password=your_password;" }, "JWT": { "Key": "your_secret_key", "Issuer": "your_issuer", "Audience": "your_audience" } }
-
Apply migrations and create the database:
dotnet ef database update
-
Run the application:
dotnet run