A responsive web application and marketing website for UniPool, the student ride-sharing application. Built using Next.js, Firebase Auth, Leaflet maps, and styled with Vanilla CSS.
Create a .env.local file in the root of the webapp folder and add your Firebase configuration:
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=acm-carpoolit.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=acm-carpoolit
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=acm-carpoolit.firebasestorage.app
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=290309531485
NEXT_PUBLIC_FIREBASE_APP_ID=your_web_app_idInstall dependencies and run the development server:
npm install
npm run devOpen http://localhost:3000 in your browser to view the application.
This project is configured for Static Export (output: "export") and features same-origin API proxying via Cloudflare Pages Functions located in /functions.
- Framework preset:
None - Build command:
npm run build - Build output directory:
out
Configure these in the Cloudflare Pages settings dashboard:
NODE_VERSION:20NEXT_PUBLIC_FIREBASE_API_KEYNEXT_PUBLIC_FIREBASE_AUTH_DOMAINNEXT_PUBLIC_FIREBASE_PROJECT_IDNEXT_PUBLIC_FIREBASE_STORAGE_BUCKETNEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_IDNEXT_PUBLIC_FIREBASE_APP_ID