Skip to content

marcusborges1/poke-api

Repository files navigation

Ribon-poke-api

This project is an REST API that serves pokemon data without authentication needed. The data is fetched initially from pokeapi using a rake task.

Prerequisites

  • Ruby 2.6.0
  • Rails 5.2
  • Postgres >= 10
  • S3 AWS credentials (in case of running in production)

How to use (locally)

  1. Copy repository and enter in project folder.
$ git clone https://github.com/Markuus13/ribon-poke-api.git
$ cd ribon-poke-api
  1. Run bundle to install dependencies.
$ bundle
  1. Setup the database.
$ rails db:setup
$ rails db:migrate
  1. Fetch data from pokeapi using custom rake task.
$ rails fetch_from_pokeapi:all
  1. Everything should work fine.
$ rails s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published