GitXplorerGitXplorer
s

Quizify

public
5 stars
1 forks
8 issues

Commits

List of commits on branch master.
Unverified
3cf5702927dbb617c0901b07286b7ca4ed6da674

Add data to endRound forwarding in server

jjosegranjo committed 9 years ago
Unverified
6ee8eca536a01411763ed8060569fdb1306f84db

Change copy

jjosegranjo committed 9 years ago
Unverified
5df610e89a11c4c2e4702d48f57b536e9dd5d485

Small fixes to make a game

jjosegranjo committed 9 years ago
Unverified
2228b950d6d4d2fc9319f4ce4e00e5d5535c7ea3

Add node-sass to package

jjosegranjo committed 9 years ago
Unverified
1c30c15cc3720beda2dfb60b4d9ee4d115702740

Remove sound without fading

jjosegranjo committed 9 years ago
Unverified
73399dbd4266c93f3c209dfdddce803b356b5136

Add artist name to countdown after answers

jjosegranjo committed 9 years ago

README

The README file for this repository.

MusicQuiz

Build Status Dependencies Development Dependencies

Web based realtime multiplayer quiz. Use your mobile as a controller, up to 8 players.

Install

Make sure you have Node.js and npm installed.

$ git clone https://github.com/simon-johansson/Quizify.git && cd Quizify
$ npm install

Development

To start the express server in development mode and the webpack-dev-server:

$ grunt serve

This enables livereload and hot loading for the frontend code but the express server needs to be restarted when making changes to the backend code, i.e. stop the server and run the above command again.

To run the project in production mode:

$ grunt serve:dist
# or
$ grunt build
$ NODE_ENV=production node server/main.js

This will build and compile the webpack code into the dist/ folder and start the express server with production settings. Good for verifying before deploying.

Tests

To run all tests:

$ npm test

Frontend

To only run the frontend-tests with Karma using PhantomJS:

$ npm run test-frontend
# or
$ grunt test

To watch for file changes and run the frontend tests repeatedly (good for TDD:ing):

$ grunt test:watch

Also possible to grep and isolate specific tests like so:

$ grunt test:watch --grep="Store"
# or a single run
$ grunt test --grep="Store"

Backend

To only run the backend-tests with Mocha:

$ npm run test-backend

To grep and isolate specific tests:

$ npm run test-backend -- --grep="Track"

Continuous Integration

Travis CI is used for continuously running the tests.

Deployment

Heroku is used for hosting. Deployment is done by pusing to the production branch. This triggers a new build on Heroku (if the tests pass on Travis-CI).

Noteworthy

  • Proxy - A proxy is needed in development mode in order to have both the express and the webpack-dev-server running properly, info.

Stack

Font-end

  • Webpack
  • ES6
  • React
  • Reflux
  • ReactRouter

Back-end

  • Node.js
  • Express
  • Socket.io

Creators

Simon Johansson
Jose Granjo

Licese

??