/gemgem-sinatra

Example application with Sinatra and Trailblazer.

Primary LanguageRubyOtherNOASSERTION

Sinatra With Trailblazer

Cause We Can.

Stack

The following gems are used in this project.

Gem Layer
Sinatra Infrastructure, Routing
Trailblazer Business
Reform Validation
Dry-validation Validation
Cells Presentation
Slim Presentation

Run

In development, start the server with

rerun "bundle exec ruby app.rb"

And browse to http://localhost:4567/posts/new.

Runing whit docker

docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.3 bundle install
docker build -t gemgem-sinatra .
scripts/run.sh up

Running tests

scripts/run.sh bundle exec rspec spec/concepts/operation_spec.rb