Skip to content

Simple example of REST API built with Ruby on Rails & Trailblazer

Notifications You must be signed in to change notification settings

moviendome/trailblazer-api

Repository files navigation

Trailblazer API

CircleCI

Simple example of REST API built with Ruby on Rails & Trailblazer

Starting the application

docker-compose up

Migrating

docker-compose run api bin/rails db:migrate

Testing

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

Database reset / re-seed

docker-compose down
rm -r docker/data-volume
docker-compose up db
# CTRL+C to shut down
docker-compose up

About

Simple example of REST API built with Ruby on Rails & Trailblazer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages