tildedash / food-wheel

Get a random lunch idea

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

food-wheel

Get a random lunch idea (2 hours project)

Demo : https://food-wheel.firebaseapp.com/ (restaurants in the 9th arrondissement of Paris, near the Weroom HQ)

demo

How to create your own wheel

Clone the repo:

git clone git@github.com:tildedash/food-wheel.git

Replace the FIREBASE_URL in the file script.js with your own firebase URL:

var FIREBASE_URL = "https://<your firebase>.firebaseio.com/foods"

If you replace foods in the path, you will have to update the Firebase rules (R/W on your dataset and RO for everything else).

Update the firebase config file:

{
  "projects": {
    "default": "<your project name>"
  }
}

or run:

rm .firebaserc

firebase login

firebase init

Deploy on Firebase:

firebase deploy

Enjoy!

About

Get a random lunch idea


Languages

Language:HTML 75.3%Language:JavaScript 18.7%Language:CSS 6.0%