Test task for Middle Ruby on Rails Developer position
Rails 6+, Grape, Rufus, RSpec, VCR, Swagger, Docker, Postman
Third-party API - https://developer.accuweather.com/apis.
Clone the project
git clone git@github.com:muromski/weather_api.gitGo to the project directory
cd weather_apiRename .env.example file to .env
You should have credentials to become an access to third-party API. You can get your own API_KEY after registration https://developer.accuweather.com/
Build docker-compose
docker-compose build appRun docker-compose
docker-compose up -dRun tests
docker-compose exec app bin/rails specRPS metrics are located in the metrics folder
The Postman collection for API testing is located at the root of the project
Swagger documentation is located at http://localhost:3000/swagger#

