/BxChallenge

Primary LanguageRubyOtherNOASSERTION

BxBlue Challenge

Create a system to identify if a pokémon trade is fair or not

About the challenge:

  • The system should be available on Heroku and the source code, on GitHub.
  • The PokeAPI may be used to verify the stats.
  • There should be a log with the trade history
  • It is suggested to use the base_experience to verify fairness.

The application is available here.

Progress is documented here.

Quick Start

First, install the development dependencies. These depend on the OS you are running:

If you are using Homebrew, be sure to get PostgreSQL running beforehand:

brew services start postgresql

Once Rails is installed, run the following commands to install the Rails dependencies and prepare the database:

bundle install
rails db:migrate

To get the server running, execute:

rails server -e development

To run the unit tests:

rails test -e development