/poke

Primary LanguageRuby

README

Description

Data importing by consuming third party API, store it in DB and serve the data over JSON REST API

Installation

bundle install
rake db:craete db:migrate

Start project

bundle exec rails s -p <your_desired_port_number>

How to update Pokemon list

List project specific tasks

rake -T | grep poke

Update list

rake poke:import_data

How to consume the API

curl <hostname>/pokemons
curl <hostname>/pokemons/:id

Heroku demo