Skip to content

Yes-JS/startupper

Repository files navigation

Start a database

  1. Start a docker container with a postgres database.
docker compose up
  1. Push the schema to database
npx prisma dp push
  1. Open prisma studio to make sure the database has a right shape.
npx prisma studio

Connect GitHub auth

  1. Go to GitHub -> Settings -> Developer settings -> OAuth Apps -> New OAuth App

  2. Fill the data

  • Application name: YourAppName
  • Homepage URL: http://localhost:3000
  • Authorization callback URL: http://localhost:3000/api/auth/callback/github
  1. Go to GitHub -> Settings -> Developer settings -> OAuth Apps -> YourAppName.

  2. Copy Client ID to GITHUB_CLIENT_ID env variable

  3. Copy Client secret to GITHUB_CLIENT_SECRET env variable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published