- Run
git clone https://github.com/ChrisRu/bgt-api
- Open file manager
- In address bar enter
%appdata%
- Go to
Microsoft/UserSecrets
(make the folder if it doesn't exist)
- Create a folder named
1dd703cb-7192-4313-9000-7df579dcb5b5
- Create a
secrets.json
inside that folder
- Edit the
secrets.json
with:
{
"Authentication": {
"Key": "temporary_super_secret_key_extra_secure_secret_hidden_not_displayed",
"Issuer": "TestUser",
"Audience": "TestAudience"
},
"Database": {
// EDIT THIS WITH THE CORRECT SHIT
"ConnectionString": "Server=url;Database=bgt;User Id=username;Password=password;"
}
}
- Open the solution in Visual Studio
- Run the program with
bgt-backend
, NOT IIS Server
- Pray