This repository contains a Next.js frontend and a Node.js + Express backend for a professional esports tournament platform.
- Dark esports theme with neon highlights
- Tournament listing, details, registration
- Full registration workflow with UPI screenshot upload
- Real-time seat tracking and tournament full handling
- Admin dashboard for approval and CSV export
- Google Sheets integration for storing registrations
- Responsive UI with Framer Motion animations
cd backend
npm install
npm run devThe backend runs on http://localhost:4000 by default.
cd frontend
npm install
npm run devThe frontend runs on http://localhost:3000.
Create backend/.env:
PORT=4000
CORS_ORIGIN=http://localhost:3000
GOOGLE_SHEET_ID=<your-sheet-id>
GOOGLE_SERVICE_ACCOUNT_KEY=<json-string>
Create frontend/.env.local:
NEXT_PUBLIC_API_URL=http://localhost:4000
NEXT_PUBLIC_ADMIN_PASS=nexxadmin
Note: For production, set a stronger admin password.
- Create a Vercel account (https://vercel.com).
- Import the repository and set the root directory to
frontend. - Set the following environment variable:
NEXT_PUBLIC_API_URL→https://<YOUR_RENDER_BACKEND_URL>
- Deploy.
- Create a Render account (https://render.com).
- Create a new Web Service.
- Connect the repository and set the root directory to
backend. - Use the following commands:
- Build:
npm install - Start:
npm start
- Build:
- Add environment variables:
PORT=4000CORS_ORIGIN=https://<YOUR_FRONTEND_URL>- Optional:
GOOGLE_SHEET_ID,GOOGLE_SERVICE_ACCOUNT_KEY
NOTE: This repo includes
frontend/vercel.jsonandrender.yamlto help bootstrap deployment.
- Pay ₹20 to
abhilash.3828@oksbiusing any UPI app. - Upload the payment screenshot and enter the Transaction ID on the registration page.
- Admin manually verifies and approves the registration.