Sha256: 432dabe61a942038c9bd04f36d5cc22a61cded898f8c6711269f51c302dea5c2

Contents?: true

Size: 989 Bytes

Versions: 1

Compression:

Stored size: 989 Bytes

Contents

tynn [![Build Status](https://travis-ci.org/frodsan/tynn.svg)](https://travis-ci.org/frodsan/tynn)
====

A thin library for web development.

Description
-----------

Tynn is a thin abstraction on top of [Syro][syro], a very simple and fast
router for web applications.

Usage
-----

Here's a minimal application:

```ruby
# config.ru
require "tynn"

Tynn.define do
  root do
    res.write("Hello World!")
  end
end

run(Tynn)
```

You can run `rackup` and open <http://localhost:9292/> to see the greeting
message.

Installation
------------

```
$ gem install tynn
```

Contributing
------------

- Fork the project.
- Use `make install` to install dependencies.
- Use `make test` to run the test suite.
- Create a pull request with your changes.

You can install the gems globally, but we recommend [gs][gs] (or
[gst][gst] if you're using chruby) to keep things isolated.

[syro]: http://soveran.github.io/syro/
[gs]: https://github.com/soveran/gs
[gst]: https://github.com/tonchis/gst

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tynn-1.2.0 README.md