/trading-simulator-api

Simple Ruby on Rails Trading Simulator API

Primary LanguageRuby

Trading Simulator API

Simple Ruby on Rails Trading Simulator API

Swagger

Swagger specification is located at /api-docs/

Admin credentials

admin@example.com:12345

Running

Using docker-compose

cp secrets.env.template secrets.env

Update secrets.env file with api key for https://fixer.io

docker-compose up

Develop

Dev running

cp .env.template .env

Update .env file

bundle install
bundle exec rake db:setup
bundle exec rails s

Run tests

bundle install
bundle exec rspec