/next-firebase-template

Template for web projects using Next.js and Firebase.

Primary LanguageTypeScriptMIT LicenseMIT

next-firebase-template

This is my template for web projects using Next.js, Tailwind CSS and Firebase.

Firebase

To connect it to Firebase you need to create a .env file in the root directory and add the following variables:

NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=

You can find these variables in your Firebase project settings.

Deployment

Easily deploy with Vercel.