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.
- 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
Cloud9: ruby app.rb -p $PORT -o $IP