Syro

Web Development With Syro

Syro is a router for web development with Ruby. It offers a very simple and scalable API that encourages modularity and makes it easy to create applications big and small without sacrificing maintainability.

Getting started

Syro is a gem, so you can install it with the following command:

  gem install syro

Now you can create your first Syro app! Remember that you can always go back to this intro by clicking on the Syro logo.

Index

  1. Hello World!
  2. Matching path segments
  3. Capturing path segments
  4. Matching booleans
  5. Composing applications
  6. Inspecting the path
  7. Request methods
  8. The response object
  9. The request object
  10. Customizations
  11. Rendering templates
  12. Running a webserver
  13. Directory layout