A simple web app for Ping Pong scores. This is a work in progress.
This was build using Node.js(v0.10.10) and MongoDB(v2.4.4).
sudo mongod
To install with a package manager on linux, follow these instructions
cd app
npm install
Just Run...
node app/app.js
You have to have jasmine-node running. To install it run...
npm install jasmine-node -g
Then you can run the tests by turning on the server and run...
jasmine-node spec/
In order to import some data for your dev mongo, run the following:
$ mongoimport --db local --collection players --file players.json
$ mongoimport --db local --collection matches --file matches.json
If you don't do this, then you will have to create players and add games manually.