This project uses Next.js App Router for all routing. See ROUTING.md for more details about the routing system and recent changes.
Copy .env.example to .env.local and fill in your configuration:
cp .env.example .env.localThen update the following variables in .env.local:
NEXT_PUBLIC_FIREBASE_API_KEY: Your Firebase API KeyNEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: Your Firebase Auth DomainNEXT_PUBLIC_FIREBASE_PROJECT_ID: Your Firebase Project IDNEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: Your Firebase Storage BucketNEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: Your Firebase Messaging Sender IDNEXT_PUBLIC_FIREBASE_APP_ID: Your Firebase App ID
You can find these values in your Firebase project settings.
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY: Your Google Maps API Key
To get a Google Maps API key:
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the following APIs:
- Maps JavaScript API
- Places API
- Geocoding API
- Create an API key and add restrictions as needed for security
- Add the key to your
.env.localfile