API that powered by GraphQL and Ruby on Rails.
-
Ruby: This project uses
Ruby v 2.6.6
. -
Bundler: You can grab the latest version of the bundler by running
gem install bundler
. You will need this to grab all the dependencies of the application. -
Ruby on Rails: This project uses
Rails v 6.1.3.2
First things first, Clone this repository on your computer with the following command: git clone https://github.com/silaslawer/buycoins-coding-challenge.git
- Run
bundle install
to grab all the dependencies. - Run
bin/server
to start the application on http://localhost:3000. A GraphQL client http://localhost:3000/graphiql.
NB: Windows users must run these commands in git bash
Rubocop for static code analysis of our Ruby code and Rspec for testing models & controllers. To execute the test suite, run bin/test
.