# Rename this file to hello.rb to try out class Routes::Hello < Bridgetown::Rack::Routes route do |r| # route: GET /hello/:name r.get "hello", String do |name| { hello: "friend #{name}" } end end end