Skip to content

a one-file Sinatra voting app that would fit in a gist

Notifications You must be signed in to change notification settings

MagdaMalinowska/suffragist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Suffragist

A one-file Sinatra voting app that would fit in a gist, suitable for teaching Ruby web-development basics.

Setup

Clone this repository and run bundle or just gem install sinatra, the sole dependency.

Start the application with ruby suffragist.rb.

Visit localhost:4567 to cast your first vote.

If you want to have automatic app reloading when you edit the file you can gem install rerun and start the application with rerun suffragist.rb instead.

About

a one-file Sinatra voting app that would fit in a gist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%