This will allow you to hook up to the db as well as mess around with the front end.
- Open up a terminal and run
npm install firebase-tools -g
orcurl -sL https://firebase.tools | bash
for Macs you may have to put sudo in the front of the command if you get errors. This will install the firebase dev tools globally on your machine - Then run
firebase login
and login with
username: [email protected]
password: ILoveMeowth1!
- To see projects run
firebase projects:list
You should see pikaProject - If you haven’t already, clone the repo, and cd into it
- To set the active project run
firebase use --add pikaproject-e0b9b
- To test and run the app on a local host, run
firebase serve
open up the localhost in your browser. Update the code, save it, and refresh the browser to see the change. (TODO: look into hot reload), to bring the local server down, enter control-c in your terminal - Register with a fake email and a password with at least 6 characters. Log into firebase console and see your newly registered user under Authentification
The firebase console allows you to access and easily change the database, as well as see and manage all registered users on the app. Look up firebase console and login with the same google credentials as above. Everyone is hooked up to the same database so be wary of making big changes