PokéBattle, inspired by the original Pokémon games, is a Pokémon battle game where players are able to create their own teams and battle each other.
This is the Ruby on Rails API for PokéBattle. You can access the Frontend here.
-
Install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
-
Install Ruby
$ brew install ruby
-
Install Rails
$ gem install rails
-
Install PostgreSQL
$ brew install postgresql
-
Clone this repository and
cd
into the directory -
Install dependencies
$ bundle install
-
Initiate the database, migrate and seed
$ rails db:create db:migrate db:seed
-
Start the rails server
$ rails s -p 3001
This will start the Rails Backend API on port 3001.
PokéBattle is released under the MIT License.
Pokémon and Pokémon character names are trademarks of Nintendo.