1
0
Fork 0
mirror of https://github.com/Ategon/Jamjar.git synced 2026-06-13 11:26:27 -04:00
Frontend for the D2Jam game jam site. https://d2jam.com
  • TypeScript 98.8%
  • JavaScript 1%
Find a file
2026-05-04 17:07:49 -04:00
.devcontainer link comment about mounting .ssh 2025-01-15 23:42:12 +04:00
.github/workflows Frontend Overhaul 2026-04-29 13:33:04 -04:00
.vscode vscode launch option 2025-01-15 19:37:42 +00:00
packages Frontend Overhaul 2026-04-29 13:33:04 -04:00
public Frontend Overhaul 2026-04-29 13:33:04 -04:00
src Add more quilt tools 2026-05-04 17:07:49 -04:00
tools/csv-to-json Frontend Overhaul 2026-04-29 13:33:04 -04:00
.dockerignore Frontend Overhaul 2026-04-29 13:33:04 -04:00
.eslintrc.json Initial commit from Create Next App 2024-10-22 20:54:44 -04:00
.gitignore Frontend Overhaul 2026-04-29 13:33:04 -04:00
.nvmrc Add emotes, reactions, mention, etc. 2026-03-06 18:32:46 -05:00
docker-compose.yml Frontend Overhaul 2026-04-29 13:33:04 -04:00
Dockerfile Frontend Overhaul 2026-04-29 13:33:04 -04:00
index.html Frontend Overhaul 2026-04-29 13:33:04 -04:00
LICENSE Add license 2025-01-14 17:22:56 -05:00
package-lock.json Convert svg to png for collection thumbnail 2026-05-03 03:36:06 -04:00
package.json Convert svg to png for collection thumbnail 2026-05-03 03:36:06 -04:00
postcss.config.mjs Add emotes, reactions, mention, etc. 2026-03-06 18:32:46 -05:00
README.md Frontend Overhaul 2026-04-29 13:33:04 -04:00
server.mjs Add more quilt tools 2026-05-04 17:07:49 -04:00
tailwind.config.ts Add emotes, reactions, mention, etc. 2026-03-06 18:32:46 -05:00
tsconfig.json Frontend Overhaul 2026-04-29 13:33:04 -04:00
vite.config.ts Frontend Overhaul 2026-04-29 13:33:04 -04:00

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