Initialize Firebase
Click here if you haven’t created your Firebase Project Yet.
Create Database
- Go to Firebase Console.
- Choose your project.
- From left side bar under build section, choose Firestore Database.
- Press Create database.
- Choose your location if you want to change it.
PLEASE NOTE: After you set this location, you cannot change it later. If this is your first database, your default Cloud Storage location will also be set to this location.
- Press Next.
- Start in production mode and press Create.
- Press rules at top bar.
- Change false value to true and press publish.
PLEASE NOTE: This change gives access to anyone to read and write to your database so please be cautious and don’t share any firebase files with anyone.
You're all set! Now you can use your database in your app.