Skip to content

martinkubicka/IIS-server

Repository files navigation

Backend setup

  1. Required .NET 7 installed

  2. Enable secret storage and set a secret

    • To use user secrets, run the following command in the project directory (use cd IIS-server/IIS_SERVER/IIS_SERVER command in terminal):
    dotnet user-secrets init
    
    • Please use this temporary connection string for accessing DB: Server=antioznuk-martinkubicka22-d781.aivencloud.com;Port=15939;Database=defaultdb;Uid=avnadmin;Pwd=AVNS_4iCQ_2BI9PsIL6BZ2nu;
    dotnet user-secrets set "DB_ConnectionString" "your mysql connection string"
    
    dotnet user-secrets set "jwt_issuer" "secretkeyissuer"  
    
    dotnet user-secrets set "jwt_audience" "http://localhost:5203/"  
    
    dotnet user-secrets set "jwt_secret" "some-long-secret-at-least-16-chars"
    

    You need to setup your gmail account so you can use it for sending mails from this app.

    dotnet user-secrets set "mail" "your gmail" 
    
    dotnet user-secrets set "mail_password" "your password"
    
    dotnet user-secrets set "salt" "some-long-salt"
    
  3. Build and run solution (for example in terminal - in folder where solution file is located, run command dotnet run)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •