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