Sha256: 7bca37f97e1f57918fc3f54e07be682d3d228728d2c38e8f7a2513aaa016df3b
Contents?: true
Size: 524 Bytes
Versions: 21
Compression:
Stored size: 524 Bytes
Contents
# Getting Started ## Hello Midori midori is a [DSL](https://en.wikipedia.org/wiki/Domain-specific_language) for web and API development in Ruby with minimal effort: ```ruby # hello_midori.rb require 'midori' class HelloWorldAPI < Midori::API get '/' do 'Ohayou Midori' end end Midori::Runner.new(HelloWorldAPI).start ``` Run with ``` $ ruby hello_midori.rb ``` View at: http://127.0.0.1:8080 with your browser, if you see a page showing: **Ohayou Midori**. You've made your first application with midori.
Version data entries
21 entries across 21 versions & 2 rubygems