Food Hunter
Search…
Food Hunter
Introduction
Before installation
Prepare Firebase
Setup database
Admin installation
Import demo data
Deploy backend
Run local
Deploy frontend
Client app installation
About
Features
Run app
Customization
Publishing
DEFINE BASICS
Adding users
Adding restaurant
Powered By
GitBook
Setup database
Adding Firestore indexes
Go to Firestore in Firebase admin panel
Firestore and indexes tab
Click on "Add index" and add following index:
Creating composite index
In the bottom of the form in "Query scopes" field select "Collection" option.
After filling form click "Create index"
This step is required for dashboard cloud function works
Let's setup firestore rules. Go to rules tab and replace existing rules with following:
1
service cloud.firestore {
2
match /databases/{database}/documents {
3
match /{document=**} {
4
allow read;
5
allow write: if request.auth != null;
6
}
7
}
8
}
Copied!
Congratulates! Database is ready
Before installation - Previous
Prepare Firebase
Next - Admin installation
Import demo data
Last modified
1yr ago
Copy link