Skip to content

yebyen/mustache-sinatra-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Mustache Sinatra Example

Get started:

$ git clone http://github.com/defunkt/mustache-sinatra-example
$ cd mustache-sinatra-example
$ gem install bundler
$ bundle install
$ bundle exec shotgun -O config.ru

Or browser to http://localhost:9393 by hand.

Note that we use a templates and a views directory. You don't have to. By default the views and templates will live in the views directory together.

Suggested TODOs

  1. add a next button, spanning columns, tables, and eventually DBs
  2. add a "fields with same name" view and "same disposition" action
  3. consolidate filter logic across views into a single incantation

About

An example of using Mustache in a Sinatra app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 73.2%
  • Mustache 26.8%