📦 FILES TO UPLOAD TO cPanel ========================================== ✅ REQUIRED FILES & FOLDERS: ---------------------------- 1. .next/ (Build output - REQUIRED) 2. app/ (App router pages) 3. components/ (React components) 4. lib/ (Utilities) 5. prisma/ (Database schema) 6. public/ (Static assets) 7. server.js (Custom server) 8. package.json (Dependencies) 9. package-lock.json (Lock file) 10. next.config.ts (Next.js config) 11. tsconfig.json (TypeScript config) 12. postcss.config.mjs (PostCSS config) 13. middleware.ts (Auth middleware) ⚠️ OPTIONAL (can install on server): - node_modules/ (You can run npm install on server instead) ❌ DO NOT UPLOAD: - .env.local - .env - .git/ - .DS_Store - DEPLOYMENT.md - DEPLOYMENT_CHECKLIST.md - UPLOAD_CHECKLIST.txt 🔧 ON SERVER, CREATE: - .env file with your production credentials