chdimitrov / poke

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Ruby 99.5%Language:HTML 0.5%