Skip to content
This repository has been archived by the owner. It is now read-only.
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


This is a Sinatra template starter project it now contains two templates web and api. The web is optimized to have a front end view, while that api is setup for a quick api only setup with no UI.

  • Web template includes bootstrap, JQuery, sinatra flash, http basic auth, and some base CSS/JS.
  • Api template includes https only, gem, and some other helpers for getting going

This is just basically a personal template and won't be trying to support a bunch of configurable use cases, but feel free to use it if you find it helpful

  • NR configured to work on heroku by default
  • GA ready just update views/layout.erb 'UA-XXXXX' with id
  • Foreman setup with (, Procfile.errors, Procfile) foreman start -f

To clone a project


rake clone_web project=web_example


rake clone_api project=api_example

To Run Examples Locally


cd web
foreman start
bundle exec rackup -p 3000


cd api
bundle exec rackup -p 3000


  • Provide better instructions on what to rename and redo
  • Instructions for getting running with Heroku
  • Opposed to generating a Sinatra app have the ability to generate a static site with rake file to upload to S3
  • add figaro to manage environment, add application.yml to gitignore
  • rename all pieces / files of client gem to more appropriate name
  • update better proc files based off churn-site
  • integrate free gemnasium
  • integrate NR or exception_notifier or free heroku error tracker
  • build simplecov into sinatra template from the beginning opposed to adding to projects later

Web todo

Related Reading


  1. Fork it.
  2. Create a branch (git checkout -b my_markup)
  3. Commit your changes (git commit -am "Added something awesome, it does X which solves problem Y")
  4. Push to the branch (git push origin my_markup)
  5. If you haven't already read about good Pull Request practices or have never submitted one before read about submitting your first pull request
  6. Open a Pull Request
  7. Awesome thanks I will try to get back to you soon.

MIT License

See the file license.txt for copying permission.

Generated by Sinatra Template

This project was originally generated by sinatra template


This is just a Sinatra template for me to more quickly start mini Sinatra apps with some reasonable defaults




No releases published
You can’t perform that action at this time.