Skip to content

TechPowerPartners/cattok-backend

Repository files navigation

To run you need to update your Postgres database:

$ dotnet ef database update -p CatTok.Api  

Create google auth credentials and add these urls to the Authorized redirect URIs:

https://localhost:7003
https://localhost:7003/signin-google
https://localhost:7003/api/auth/google/login
https://localhost:7003/api/auth/google/callback

Then open appsettings.json and specify google client id, secret and jwt security key

"GoogleOAuthOptions": {
    "ClientId": "*",
    "ClientSecret": "*"
  },

  "JwtSettings": {
    "Key": "*",
    "HashKey": "*"    <-- key for hashing passwords
    ...               <-- Optional (for production)

Then start web app

$ dotnet run --project CatTok.Api

To see swagger navigate to https://localhost:7003/swagger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published