Players that play Overwatch (made by Blizzard Entertainment) can search their Battle.net ID. The app fetches the Overwatch API, saves all the data to the database and displays the player statistics, including rating, level, and hero stats, on the main page which is rendered in React. Players can then analyze their individual performance and compare it with their friends or search for other players.
Go to dev.battle.net and sign up for an account. Register and create an application.
Put Callback URL as https://YOUR_HEROKU_APP_URL/users/auth/bnet/callback
Put Website URL as https://YOUR_HEROKU_APP_URL/
Then you will get your:
BNET_APP_ID & BNET_APP_SECRET
Needed for Heroku Deploy
rake webpacker:install && rake webpacker:install:react
yarn install
bundle
rake db:create
rake db:migrate
yarn start
edit .env file with your keys
rails s
OverTrack was created using primarily React JS (React 15.6.1) on the front-end with API Javascript fetch communication with Rails (Rails 5.1.2) on the back-end. Additional styling was implemented using Materialize. User authentication and tangential features are implemented using Devise Battle.net OAuth.