Project

radical

0.0
Repository is archived
No release in over 3 years
This gem helps you write rails-like web applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.14
~> 5.5
~> 1.1
~> 13.0
~> 0.5

Runtime

~> 1.10
~> 2.2
~> 2.6
~> 1.4
~> 2.0
~> 0.4
 Project Readme

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 HomeController < Radical::Controller
  def index
    plain '/'
  end
end

routes = Radical::Routes.new do
  root :HomeController
end

app = Radical::App.new(
  routes: routes
)

run app

Install the gems and start the server

gem install radical puma
puma

Test it out

curl localhost:9292
# => /