Skip to content

FHU/CIS455-30K-BeKindlyTodayBackend

 
 

Repository files navigation

BeKindlyTodayBackend

An API to support the BeKindly.Today kindness challenge app.

Developers

Getting set up

Run npm install
Run npx prisma generate

Environment Variables

Development environment variables should be stored in a file in the root directory named .env.dev.
This file will not be tracked by git and is unique to your local directory.\

Environment Variables

  • DATABASE_URL
    • Required
    • Contains the url of the postgres database
  • Port
    • Optional for development
    • Lists the port that the server will run on
  • POSTGRES_PASSWORD
    • Required
    • Contains the password used for the postgres database
  • NODE_ENV
    • Required
    • Sets the enviroment to know whether to use authentication or not
  • KINDE_BACKEND_CLIENT_ID
    • The ID of the client on Kinde
  • KINDE_URL
    • The URL of the website on Kinde's subdomain
  • SITE_URL
    • The URL of BeKindly
  • KINDE_CLIENT_SECRET
    • The secret of the client on Kinde
  • UNAUTHORIZED_URL
    • The URL that unauthorized users are redirected to when attempting access of a protected route

Starting the server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 61.2%
  • JavaScript 24.0%
  • Shell 7.6%
  • Python 5.2%
  • Dockerfile 2.0%