radical

A rails inspired ruby web framework

Learning

Check out the examples/ folder for some ideas on how to get started and when you're ready, check the docs/ folder for more details.

Quickstart

Create a directory with a config.ru and a Gemfile file inside of it

mkdir your_project
cd your_project
touch config.ru Gemfile

Put this inside of the config.ru

require 'radical'

class Home < Radical::Controller
  def index
    plain '/'
  end
end

class Routes < Radical::Routes
  root :Home
end

class App < Radical::App
  routes Routes
end

run App

Install the gems and start the server

gem install radical puma
puma

Test it out

curl localhost:9292
# => /