Skip to content

Test task for Middle Developer Ruby on Rails position

Notifications You must be signed in to change notification settings

muromski/weather_api

Repository files navigation

Weather API

Test task for Middle Ruby on Rails Developer position

Technologies

Rails 6+, Grape, Rufus, RSpec, VCR, Swagger, Docker, Postman

Third-party API - https://developer.accuweather.com/apis.

Run Locally

Clone the project

git clone git@github.com:muromski/weather_api.git

Go to the project directory

cd weather_api

Rename .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 app

Run docker-compose

docker-compose up -d

Run tests

docker-compose exec app bin/rails spec

screenshot

RPS 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#

screenshot

About

Test task for Middle Developer Ruby on Rails position

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages