First, install dependencies, and run dev
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.js
. The page auto-updates as you edit the file.
npm install firebase
Create a firebase project and get your credentials.Copy and paste them in firebase/config.js
Create the file .env.local and add your credentials.
example:
NEXT_PUBLIC_FIREBASE_API_KEY=AIzaSyBQ2xiS_iid5s6ijfIF4S2XS NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=crud-firebase-todo-ba3cb.firebaseapp.com NEXT_PUBLIC_FIREBASE_PROJECT_ID=crud-firebase-bacr5 NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=crud-firebase-bacr5.appspot.com NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=730099486824 NEXT_PUBLIC_FIREBASE_APP_ID=1:730099486824:web:0ef645LKre2f54oC