Skip to content

rechenberger/party-starter

Repository files navigation

Party Starter

Features

Setup

  • Create .env.local
  • Generate Auth Secret
    • run npx auth secret
    • copy AUTH_SECRET to .env.local
  • Connect DB
    • Create Turso Database
    • DB_URL: looks like libsql://your-app.you.turso.io
    • DB_TOKEN: looks like a JWT eyeyey
  • Connect OAuth
    • Create Discord Developer App
    • Goto OAuth2
    • AUTH_DISCORD_ID: Copy Client ID
    • AUTH_DISCORD_SECRET: Reset Secret
    • Add Redirects:
    • http://localhost:3000/api/auth/callback/discord
    • https://your-app.com/api/auth/callback/discord
  • pnpm db:push to push schema to DB

Run

pnpm install
pnpm dev

Libraries

Update

You can get the latest changes from the template by running:

git remote add template https://github.com/rechenberger/party-starter.git
git fetch --all
git merge template/main --allow-unrelated-histories

You might have to resolve a few merge conflicts, but that's it!