Option A · recommended for graders
Next → Vercel · Django → Render
Matches classic “SPA + API”. Predictable long requests. Assignment’s “can use Vercel.app” covers the UI.
- Push hos/ to GitHub.
- Vercel: Import repo, Root Directory frontend, Framework Next.js. Env
NEXT_PUBLIC_API_URL=https://your-api.onrender.com. - Render: Web service, Root backend, build
pip install -r requirements.txt, startgunicorn config.wsgi:application. - Env on Render:
SECRET_KEY,DEBUG=0,ALLOWED_HOSTS,CORS_ALLOWED_ORIGINS=https://your-app.vercel.app,NOMINATIM_USER_AGENT.