firebase / friendlyeats-web

Apache License 2.0
493 stars 412 forks source link

"Add mock data" screen not showing up #166

Closed mram45 closed 3 years ago

mram45 commented 3 years ago

Sorry if this is a duplicate issue. That issue seems to be closed and the answers don't resolve my issue.

Followed all the instructions up to "Run Local Server". on launching- http://localhost:5000

I see a screen with the following You're seeing any restaurant located anywhere with any price sorted by rating

and not "add mock data" screen.

Am I missing something?

I have Anonymous enabled. In the console for the index.html page I see this error:

Uncaught Error in snapshot listener: FirebaseError: Missing or insufficient permissions

Should I be adding some other permissions?

mram45 commented 3 years ago

fixed the issue. In case anybody encounters the same issue -

In step 2 of the code lab - It says - "In the Rules tab of the Firebase". I did not change in Rules tab. Once that was done the issue was fixed.