NextJS boiler-plate with Google's Firebase integrated. Watch on YouTube: https://youtu.be/SYnu6CLKD70
The Next.JS with Firebase Boiler Plate is a sample project that showcases the integration of Next.js and Firebase. It is built using the yarn create next-app command, which provides a basic project structure. The repository includes multiple actions implemented with Firebase, such as authentication, storage, Firestore, and realtime database operations. The project also incorporates React Bootstrap for styling.
To install the Next.JS with Firebase Boiler Plate, follow these steps:
yarn install
.env.local
file in the project’s root directory with your Firebase configuration details.NEXT_PUBLIC_FIREBASE_API_KEY=YOUR_API_KEY
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=YOUR_AUTH_DOMAIN
NEXT_PUBLIC_FIREBASE_PROJECT_ID=YOUR_PROJECT_ID
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=YOUR_STORAGE_BUCKET
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=YOUR_MESSAGING_SENDER_ID
NEXT_PUBLIC_FIREBASE_APP_ID=YOUR_APP_ID
yarn dev
http://localhost:3000
to see the live website.The Next.JS with Firebase Boiler Plate is a sample project that demonstrates the integration of Next.js and Firebase. It provides a basic structure and showcases various Firebase features, such as authentication, Firestore, Realtime Database, and Storage. The project is compatible with Next.js v10+ and Firebase JavaScript v8+. However, it may also work with older versions of the frameworks.