Minimal Next.js landing page for NYU Bobst "Collisions" meetups.
- Next.js (App Router)
- Firebase (Firestore starter integration)
- Vercel-ready deployment
- Install dependencies:
npm install- Copy env file and add your Firebase project values:
cp .env.example .env.local- Start dev server:
npm run devOpen http://localhost:3000.
- Create Firebase project.
- Enable Firestore.
- Add a web app in Firebase console.
- Copy SDK config values into
.env.local. - In Firestore rules, allow writes from authenticated users (recommended) or from your app during testing.
Email-link verified users can create or join tables in the tables collection.
tables/{id}topic,location,slotmaxSeats(2-5)hostAnonName,hostUid,hostEmailstatus(confirmed)attendees(array of host + members)createdAt
- In Authentication, enable Email/Password provider.
- In Authentication settings, enable Email link (passwordless sign-in).
- Add your app domain to Authorized domains:
localhost- your Vercel domain (for example
collisions.vercel.app)
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /tables/{tableId} {
allow read: if true;
allow create, update: if request.auth != null;
}
}
}- Import this GitHub repo into Vercel.
- Add all
NEXT_PUBLIC_FIREBASE_*variables andNEXT_PUBLIC_APP_URLin Vercel project settings. - Deploy.
- Firebase Auth with NYU domain enforcement.
- Real-time open seats per table.
- Match confirmations and reminders.
- Dynamic metrics pulled from Firestore.