/orders

Demo app for `hanami` `~> 1.3`, `hanami-validations` `2.0.0.alpha1` (`dry-validation` `~> 1.0`), and `rom` `~> 5.0`

Primary LanguageRuby

Orders

This is a demo app to show how to use together the following gems:

  • hanami ~> 1.3
  • hanami-validations 2.0.0.alpha1 (which depends on dry-validation ~> 1.0)
  • rom ~> 5.0

Setup

How to get the code:

$ git clone https://github.com/jodosha/orders.git
$ cd orders
$ bundle

How to run the development server:

$ bundle exec hanami server

Manual testing

  1. Visit http://localhost:2300
  2. Try to fill the signin form with invalid data (missing email, or missing password)
  3. Try to fill the signin form with valid data (any email/password will work)

Explore Hanami guides, API docs, or jump in chat for help. Enjoy! 🌸