Skip to content

Installation

Koustuv Sinha edited this page Jan 24, 2016 · 2 revisions

Before proceeding, install the following tools to begin :

  • Node : Install Nodejs runtime. The best way to install it is to use NVM or Node Version Manager, using which you can later change or upgrade your node & npm runtime. Follow the instructions in their page to install.
  • MongoDB : We will use NoSQL database MongoDB in our application. Download the distribution (64 bit) and install, its pretty straightforward. For Linux users, you should install it via apt in Debian or yum in other distros. Instructions for installing in Ubuntu is here.

After we have installed the tools, begin installing the dependencies :

  • Fork the repo, and clone you fork
  • Within the folder in your local clone, run npm install to install the dependencies
  • Install Feross Standard, which is the code standard we will follow : npm install -g standard
  • Test your installation : npm test
  • Run your server : node . or node app.js
  • Also for development of the server, install Postman or Advanced Rest Client in Chrome.

After all installations are done, start the server in a terminal, open Postman or Advanced Rest Client and hit a GET request on http://localhost:3000/api. You should get a response like this :

{
"version": 1
}

Clone this wiki locally