brew install mongodb
Make your database directory, just incase you're not cool enough. #JSONLyfe Do you have read and write permissions? No. Well there ya' go sport.
mkdir -p /data/db
npm install
bower install
Start mongo
mongod
In another terminal
PORT=8080 gulp serve
Start mongo
mongod
In another terminal
npm start
Start mongo
mongod
In another terminal
npm test
Players by elo rating
Players by name
Create a player
{
"name": "bob"
}
Results, most recent first
Report a game result
{
"winner": {
"id": "...",
"name": "..."
},
"loser": {
"id": "...",
"name": "..."
}
}