Wouter

Wouter is a modular web framework built on top of Rack.

Wouter design goals: explicit, modular, readable.

Basic Usage

Wouter allows you to define routes that connect to endpoints.

Here is an example rackup compatible file:

require 'wouty'

class HelloWorld < Wouty::Endpoint
  def respond
    'Hello, world!'
  end
end

class Routes < Wouty
  get '/', HelloWorld
end

run Routes.build