Skip to content

GetBallot/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configure Firebase

  1. Under Authentication, select sign-in method. Enable Google and Anonymous
  2. Under Database, click "Get started"

Deploy Cloud Functions

  1. Follow Firebase Cloud Functions instructions:
  • npm install -g firebase-tools
  • firebase login
  • During firebase init, don't override anything.
  1. Create functions/config.json with this:
    { "api_key": your_api_key } Generate your_api_key from Google API console, with Civic Information and Places API enabled. You may need to go through this site to set up billing for Places API: https://cloud.google.com/maps-platform/places.
  2. Inside the functions directory, run npm install.
  3. firebase deploy --only functions

More info

See DESIGN.md in the mobile repo

About

Firebase backend for the Ballot app

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published