Home

Awesome

Introduction

I'm a fan of the Ruby library Sinatra. It provides a great DSL to map HTTP requests to build APIs, websites, or just simple wrappers around already working code.

Getting Started

git clone https://github.com/jtarchie/sinatra-openresty.git
cd sinatra-openresty

Take a look at the example application under examples/app.lua.

TODO

Test

Assuming that you already have OpenResty installed, nginx is available via PATH, and you've added moonrocks.

luarocks install sinatra-dev-1.rockspec
busted