FriendlyEats is a restaurant recommendation app built on Cloud Firestore. It has offline persistence enabled. For more information about Firestore visit the docs.
Follow these steps to setup and run the quickstart:
- Create a Firebase project in the Firebase Console.
- In the Firebase console, enable Anonymous authentication on your project by doing: Authentication > SIGN-IN METHOD > Anonymous > Enable > SAVE
- In the Firebase console, enable Cloud Firestore on your project by doing: Database > Create Database
- Select testing mode for the security rules
- Copy/Download this repo and open this folder in a Terminal.
- Install the Firebase CLI if you do not have it installed on your machine:
npm -g i firebase-tools
- Set the CLI to use the project you created on step 1:
firebase use --add
- Deploy the Firestore security rules and indexes:
firebase deploy --only firestore
- Run a local server:
firebase serve
- As indicated, open http://localhost:5000 in your browser and try out the app.
© Google, 2017. Licensed under an Apache-2 license.