This is a Next.js project for uploading images to Firebase. It demonstrates setting up Firebase storage and integrating it with a Next.js application.
Clone the repository:
git clone https://github.com/Jerga99/next-firebase-image-upload.git
cd next-firebase-image-upload
Install dependencies:
npm install
Set up Firebase:
const firebaseConfig = {
apiKey: "your_api_key",
authDomain: "your_auth_domain",
projectId: "your_project_id",
storageBucket: "your_storage_bucket",
messagingSenderId: "your_messaging_sender_id",
appId: "your_app_id"
};
Start the development server:
npm run dev
Open the application:
To learn more about Next.js and Firebase, check out the following resources: