dart-wakar / market-place-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

market-place-server

The node.js server side for sample market place.

Prerequisites

  1. node.js
  2. npm
  3. mongodb
  4. nodemon ,would be convenient if installed.

Setup instructions

  1. Start the mongod service to host the database locally.Run
    $ sudo service mongod start
    This should start the mongod service and host the database on the default port ,i.e,27017.
  2. Clone and install dependencies:
    $ git clone https://github.com/dart-wakar/market-place-server.git
    $ cd market-place-server
    $ npm install
  3. Run the server locally:
    $ nodemon server.js
    If everything worked properly the following should be logged on the node terminal.
    Server running on port 3003
    Connected to database!

About


Languages

Language:JavaScript 100.0%