Simple quiz using React, Redux and Rails. Position in quiz persisted using local storage. All results persisted within rails api.
- Ruby
- NPM
- Clone repository using
git clone https://github.com/bertiecroll/react_rails_quiz.git
- cd into repository, then cd into
quiz_api
- install gem files using
bundle install
- migrate database using
rake db:migrate
then add seed data usingrake db:seed
- begin rails server using
rails s
- create new terminal tab, go up one directory and then cd into
quiz_ui
- install npm packages using
npm install
- begin express server using
npm start
- create new terminal tab and then cd into
client
- install npm packages using
npm install
- start webpack using
npm start
- Application will now be available at localhost:5000
- run rails tests using
rails test
within quiz_api directory - run javascript tests using
npm test
within quiz_ui directory