Skip to content

A Sinatra-based web application to illustrate the difference between a static web page and a web application

License

Notifications You must be signed in to change notification settings

codeunion/baking-app-sinatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baking App (Sinatra)

This application is an introduction to a few of the core ideas involved in building a web application. Most importantly:

  • Routing, i.e., the relationship between the URL you visit in your browser and the code your web application runs.
  • Query strings as a way for the user to pass dynamic information from the browser to the web application.
  • Dynamically generating HTML documents to send back to the browser

Running The Baking App

Install The Required Libraries

To install the libraries required for this application, first run the following command:

$ bundle install

Run The Baking App

Once you've installed the required libraries, run the following command:

$ ruby bake_app.rb

To stop your application, press Ctrl+c. That means press the "Control" key and the "c" key at the same time.

About

A Sinatra-based web application to illustrate the difference between a static web page and a web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published