This is a simple, super watered-down rack-based app template. It demonstrates
some high-level rack features such as the env
variable, use of middleware
such as Rack::Static
, and the overall Request/Response cycle.
On a macro level, this app has no real production potential. But it attempts to break down what happens under the hood at the lower-level in some Rails features such as routing, controller actions and rendering. To that end, I've added quite a few comments and remarks to explain some of the key steps in the process.
Fork/Clone this repo, run bundle install
, then run rackup
within
the project's directory.