Friends Bet is an application that allows you and your friends to bet on sport results.
The API uses:
- Sails.js, a Node.js MVC framework
- MongoDB
With node installed:
# Get the latest stable release of Sails
$ sudo npm install sails -g
# Clone the repo
$ git clone https://github.com/FriendsBet/API.git FriendsBetAPI
# cd into the new folder
$ cd FriendsBetAPI
# Install dependencies
$ npm install
Run MongoDB:
# Run your MongoDB server
$ mongod
Lift Sails:
# Fire up the server
$ sails lift
The API is now running on port 1337.
With the MongoDB server running:
# Launch the tests
$ npm test