Date: May 2, 2026
Status: Frontend ready for Netlify drag-and-drop deployment
- Tool: Next.js with static export (
output: 'export') - Output Folder:
frontend/out/- Contains all deployment-ready files - Build Command:
npm run build - Size: ~2-5 MB (gzipped)
frontend/out/
├── index.html # Homepage
├── 404.html # Error page
├── auth/ # Login/Signup pages
├── game/ # Game pages (Levels 1-4)
├── leaderboard/ # Leaderboard page
├── profile/ # Profile page
├── tutor/ # AI Tutor page
├── _next/ # Optimized bundles
└── _redirects # Route configuration
- netlify.toml - Netlify build & deployment settings
- .gitignore - Updated to exclude build artifacts (out/, .next/, dist/)
- next.config.mjs - Configured for static export
- Build locally:
npm run build - Go to app.netlify.com
- Drag
frontend/out/folder to drop zone - ✨ Site is live!
- Connect GitHub repo to Netlify
- Netlify auto-builds and deploys on every commit
- Automatic staging/production environments
# Folder ready: frontend/out/
# Drag to: app.netlify.com
# Done! ✨npm install -g netlify-cli
netlify login
cd frontend
netlify deploy --prod --dir=out# In Netlify Dashboard:
# 1. Click "Deploy with Git"
# 2. Select your repo
# 3. Netlify handles everything automatically!- Frontend builds successfully:
npm run build -
out/folder created with static files - netlify.toml configuration file present
- .gitignore updated to exclude build artifacts
- All pages pre-rendered (auth, game, leaderboard, etc.)
- TypeScript compilation complete
- CSS/Tailwind optimized
In Netlify Dashboard → Site Settings → Environment:
NEXT_PUBLIC_API_URL=https://your-backend-api.com
- Home page loads
- Auth pages work (/auth/login, /auth/signup)
- Game pages accessible (/game, /game/level/1)
- API calls reach backend
- No console errors
These folders/files are NOT committed to Git:
frontend/out/- Deployment outputfrontend/.next/- Next.js cachefrontend/dist/- Build outputnode_modules/- Dependencies.env.local- Local environment variables
- Deployment Guide: See NETLIFY_DEPLOYMENT.md
- Next.js Static Export: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
- Netlify Docs: https://docs.netlify.com/
- Build:
npm run build(already done ✓) - Deploy: Drag
frontend/out/to Netlify - Monitor: Check deployment status in Netlify Dashboard
- Connect Backend: Update
NEXT_PUBLIC_API_URLenv var - Go Live: Share your site URL!
Ready to deploy? Start with drag-and-drop at app.netlify.com