This project is an REST API that serves pokemon data without authentication needed. The data is fetched initially from pokeapi using a rake task.
- Ruby 2.6.0
- Rails 5.2
- Postgres >= 10
- S3 AWS credentials (in case of running in production)
- Copy repository and enter in project folder.
$ git clone https://github.com/Markuus13/ribon-poke-api.git
$ cd ribon-poke-api
- Run bundle to install dependencies.
$ bundle
- Setup the database.
$ rails db:setup
$ rails db:migrate
- Fetch data from pokeapi using custom rake task.
$ rails fetch_from_pokeapi:all
- Everything should work fine.
$ rails s