docka/tastyplanet — pull request #1 by pushmatrix (2013-10-29 03:37:35+00:00)
Title: Magical Fixes to your project

I made a pull request to your project. You can merge it in if you'd like. It contains the following:
- You now need to create an account to be able to do anything. You now have full user signup! Woo
- The map loads properly
- Profiles are saved to firebase (but not favourites)
- Dinners are saved to firebase
- The "book" button is in the map popup. You'll notice that when you press it, you will be added as a guest in the firebase Database. You won't see it on the map, but you'll see it in your firebase admin panel
- You can login/logout
- you can press the enter button OR click the buttons

NOTE: The address field in the settings screen is really important. If you don't have that filled out, you won't be able to create dinners.

Once you merge this code in, you'll need to do a few things:
First up, you won't be able to test off the login stuff if you are opening up the files locally. Well, that's not entirely true.
You need to run a server on your computer for everything to work alright.
This is a browser security restriction.
The simplest way to run a server is to install https://itunes.apple.com/ca/app/simple-http-server/id441002840?mt=12
You just pick a folder you want to serve up, and it will tell you the URl
that you can go to. It should look something like http://your-computer-name.local:8000

Next up, you need to enable authentication. In your firebase forge, click on 'Auth' on the left hand panel .Then under the section 'authentication providers', select 'email & password.', and press "Enabled" checkbox. This area is where you'll be able to see all the registered users to your app.

Lastly, you might need to delete all the data in your firebase. I changed some stuff around, and it might not be compatible with older data entries.

Let me know if that works for you.