This is a small app using Ruby on Rails as an API and a frontend written with React.js
Ruby 2.3.1 Rails 5.0.0
This project has two parts, the Ruby on Rails API and the React.js frontend so each part must be setup seperately
git clone https://github.com/drewpterry/QuizMaster.git
cd QuizMaster/api
bundle install
rails db:migrate RAILS_ENV=development
rails s
Visit localhost:3000 on your browser and you should see a "Yay! You're on Rails!" page
Please keep this running while you set up the frontend.
From the QuizMaster directory:
cd frontend
npm install
npm run dev
Visit localhost:8020 on your browser and you should see the QuizMaster homepage
You're done! You've now got the frontend successfully using the Rails API!
bundle exec rspec
npm run test
This was the first time I've ever used React, it was very fun but also very challenging!