Giter Club home page Giter Club logo

quizmaster's Introduction

How To Run the application

1) bundle install

2) rake db:migrate

3) rake db:seed

4) $ npm install npm-install-all -g

5) npm-install-all

6) rails s

Main features:

  • Currently there are 8 predefined questions that will be randomly picked whenever you open localhost:3000 in your browser.

  • All answer is assumed to be number only. You can answer it by typing “8” or “eight”. It will recognize the inputs automatically and will an instant feedback for you answer wether it is correct or incorrect.

  • You can choose random question and the score will be not cleared.

  • You may edit, delete, or add new question from admin page localhost:3000/admin

Technical Stacks:

  • All user interfaces is built with ReactJS

  • Ruby on rails is used as API consumed by UI

  • Default sqlite is used as database

  • Rspec for unit test API, mocha + enzyme + chai for unit test front end.

Some works need to be done: Unit test for front end (ReactJS) - Got some unknown while working on this part. Hence I work in separate branch for front end unit test.

Repository: github.com/edwardfernando/quizmaster

Please also check ui-test-issue branch to see my progress in fixing the issue I got while working on unit test for frontend: github.com/edwardfernando/quizmaster/tree/ui-test-issue

Run the Unit Test:

  • rspec

  • npm test

quizmaster's People

Contributors

edward-jualo avatar edwardfernando avatar

Watchers

 avatar  avatar

Forkers

edward-jualo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.