Skip to content

Down2Jam/Jamjar

Repository files navigation

Jamjar

Frontend for Down2Jam.

Local Development

npm install
npm run dev

The dev server runs on http://localhost:3000.

Create a .env file if you need to choose which API to use:

NEXT_PUBLIC_MODE=DEV

DEV uses a local Jamcore API on http://localhost:3005. PROD uses the production API.

Production

npm run build
npm start

The production server serves the Vite build and injects dynamic SEO metadata for public game, music, user, and post pages.

Useful environment variables:

PORT=3000
PUBLIC_ORIGIN=https://d2jam.com
API_BASE_URL=https://d2jam.com/api/v1

Docker

docker compose up --build -d

Contributors

Languages