Sinatra Firebase Microboiler is some super simple Sinatra boilerplate wired up with Firebase and some other goodies. It provides some basic routing and Firebase helpers and examples.
Great for prototyping, hackathons, or just getting an app/API up and running quickly.
#Quickstart
- Install Ruby & Bundler (Check gemfile)
bundle install
- Set your Firebase URL in
app.rb
andpublic/js/scripts.js
- Start your server with
ruby app.rb
- Deployable to Heroku
Nitrous: ruby app.rb -p 3000 -o 0.0.0.0
Cloud9: ruby app.rb -p $PORT -o $IP
#Includes