Quiz Master is a quiz app to test my knowledge in web development
A web application to test your knowledge on various topics. Users may manage questions and enter quiz mode. They can also choose a difficulty level (easy, medium hard) or play all the questions.
Built with
- Ruby v2.4.1
- Ruby on Rails v5.1.2
- ES2015
- React
Testing Backend
Back-end Dependencies
Front-end Dependencies
A quick introduction to get the application started.
- Clone the repository
- Under the repository name, click Clone or download.
- In the Clone with HTTPs section, click the clipboard icon to copy the clone URL for the repository.
- Open your terminal
$ git clone https://github.com/ninariccimarie/quiz-master.git
* Press Enter. Your local clone will be created.
-
Make sure to install Ruby and Ruby on Rails with the same version as the project.
-
Install backend and frontend dependencies.
$ bundle
$ npm install
Navigate to the location of the project. Open separate terminals for the backend and frontend. Start both servers.
$ cd backend
$ rake db:reset
$ rails s
$ cd frontend
$ npm start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
To run the app on testing environment and run all tests:
$ # backend test
$ rake db:test:prepare
$ exec rspec spec
$ # frontend test
$ npm test