Premium browser-based arcade platform with a dark neon cyberpunk aesthetic. Built with Next.js App Router (frontend), Express + Prisma (backend), and PostgreSQL.
- Frontend: Next.js, Tailwind CSS, Framer Motion, Zustand
- Backend: Node.js, Express, Prisma ORM, JWT auth
- Database: PostgreSQL
- 15 playable mini games (required 10 included + optional extras)
- Dark neon UI with glassmorphism and animated particles
- JWT auth + guest mode
- Save scores, profile history, achievements
- Global leaderboard + cached leaderboard endpoint
- Quick Play random launch
- Responsive layout + keyboard/mouse game controls
frontend/Next.js appbackend/Express API + Prisma schema/migrations/seed
- Copy env examples:
cp backend/.env.example backend/.envcp frontend/.env.example frontend/.env.local
- Ensure PostgreSQL is running and
DATABASE_URLis valid.
cd backendnpm installnpx prisma generatenpx prisma migrate dev --name initnpm run prisma:seednpm run dev
Runs at http://localhost:4000.
cd frontendnpm installnpm run dev
Runs at http://localhost:3000.
- Auth:
POST /auth/registerPOST /auth/login
- Games:
GET /gamesGET /games/:id
- Scores:
POST /scores(auth required)GET /scores/:gameIdGET /leaderboard
- User:
GET /profile(auth required)GET /history(auth required)
- Frontend ready for Vercel
- Backend + Postgres ready for Railway/Supabase