Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.35 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.35 KB

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Prerequisite - install dependencies if you have not already:

npm install

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Create a .env.local file in the root of the project and add the following environment variables:

DISCORD_CLIENT_ID=your-discord-client-id
DISCORD_CLIENT_SECRET=your-discord-client-secret
NEXTAUTH_URL=http://localhost:3000
AUTH_SECRET=some-random-secret-val

Replace your-discord-client-id and your-discord-client-secret with your actual Discord OAuth credentials.

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Database Development

To manage the database schema, this project uses Prisma Migrate.

To create a new migration, run:

npx prisma migrate dev --name your-migration-name