Simple example of REST API built with Ruby on Rails & Trailblazer
docker-compose up
docker-compose run api bin/rails db:migrate
docker-compose run api bin/rails db:test:prepare # If the test database is not created
docker-compose run api bin/rails test
docker-compose run api bin/rails test test/concepts # run tests for Traiblazer Operations
docker-compose run api bin/rails test test/integration # run Integration Tests
docker-compose down
rm -r docker/data-volume
docker-compose up db
# CTRL+C to shut down
docker-compose up