Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 1.44 KB

STARTUP-README.md

File metadata and controls

64 lines (47 loc) · 1.44 KB

Startup guide

To run backend

Go to Backend path

  "JwtIssuerOptions": {
    "Issuer": "tasque",
    "Audience": "tasque",
    "ValidFor": "1",
    "Key": "BSA-2022-Tasque.Core"
  },
  "ConnectionStrings": {
    "TasqueDb": "" // enter here our db connection string
  },
  "SendGridOptions": {
    "ApiKey": "" // enter here SendGrid api key
  },
  "EmailConfirmationOptions": {
    "Host": "", // enter here host ip. Default is: http://localhost:4200
    "ConfirmationEndpoint": "/auth/confirm",
    "PasswordResetEndpoint": "/auth/restore",
    "SenderEmail": "", // enter here our email
    "SenderName": "", // enter here our name
    "TokenLifetime": 600
  }
  • Update database if it is not updated or invalid
dotnet ef database update --startup-project Tasque.Core.WebAPI --project Tasque.DAL
  • Run project using vs studio or console
dotnet run --project Tasque.Core.WebAPI/Tasque.Core.WebAPI.csproj

To run frontend

Go to Frontend path

  • Install or update all node modules
npm install
  • Run project using this command in console
ng serve

Finally