A voting system for ranking banana breads in a bake-off competition
You should have the following installed and running:
- docker
- docker-compose
You should also have Google Cloud OAuth credentials:
- Visit https://console.cloud.google.com and log in.
- Create a new project named however you'd like.
- Select
APIs&Services
-->Credentials
from the hamburger menu. - Select
Create Credentials
-->OAuth client ID
from the dropdown. - Select the
Web application
radio button. - Set
Name
however you like. UnderAuthorized JavaScript origins
, add in http://localhost:5000. UnderAuthorized redirect URIs
, add in http://localhost/oauth2callback. - Copy and store the newly generated client ID and secret values as
CLIENT_ID
andCLIENT_SECRET
in the .env file of the project directory.
git clone git@github.com:lekha/banana-bread
cd banana-bread
docker-compose build
docker-compose up
Then visit localhost
from your browser!