Student - Mentor appointment API with ruby on rails
=> https://appointment-api-rails.herokuapp.com
Firstly, edit docker-compose.yml and set ENV variables. After that,
docker-compose up -d
docker-compose run web rails db:create
docker-compose run web rails db:migrate
/api-docs
https://documenter.getpostman.com/view/3721602/TzRSgTCg
{project_folder}/api-V1.postman_collection.json
{project_folder}/coverage/index.html
Note : when you run rspec tests, code coverage report will updated.
docker-compose run web bundle exec rails test
or
docker-compose run web bash
rails t
docker-compose run web bundle exec rspec
or
docker-compose run web bash
rspec