Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.38 KB

DATABASEconf.md

File metadata and controls

44 lines (27 loc) · 1.38 KB

Project uses Google's Firebase to store data and information.

For setting up database on your local machine follow below mentioned steps

  • Go to Firebase console start a new project
  • On the home screen click on </> icon, create app follow the instructions.
  • At last step you'll get API key for connection.
  • The API key will be in the format

`

const firebaseApp = firebase.initializeApp({

apiKey: "",

authDomain: "",

projectId: "",

storageBucket: "",

messagingSenderId: "",

appId: "",

measurementId: "", }); `

  • Go to build-> Authentication, Keep sign-in method as email and password

  • Screenshot 2022-12-11 014039 Screenshot 2022-12-11 014148

  • Now go to build->FireStore Database.

  • Then click on start in test mode .If you fail to do so you won't be able to access your database remember to do this.

  • Next go to build->Storage and follow the similar steps

Now your database is ready to configure into your app.

Copy this API key and go to your project files

  • src->lib->firebase.js replace original key with your key
  • VOILA you have database setup on your local machine