Skip to content
MVC basic web server development in NodeJs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
application
files
.gitignore
README.md
index.js
package.json

README.md

NodeJs-BasicServer-MVC

This is a basic server, written in NodeJs code and resembles MVC. The project is designed on the top of NodeJs express module.

Environment Setup

  1. NodeJs Server
  2. MongoDb Server

How to install NodeJs Server?

https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager

How to install MongoDb Server?

BasicServer also needs MongoDb to do database operation. To install mongodb, go to http://www.mongodb.org/display/DOCS/Quickstart

Project Setup

How to install system?

  1. Place project in appropriate folder, Generally "C:\Program Files\nodejs\node_builds".
  2. Open the command prompt as administrator mode and set base path to project folder.
  3. Type the command >npm update. This will install all dependent modules.
  4. Now you can see a new folder named "node_modules".

How to run system?

  1. Run MongoDb Server.
  2. Open the command prompt as administrator mode and set base path to your project folder.
  3. Type the command >node index.
  4. Send request from browser with "http://localhost:9001"

For more info http://askhds.blogspot.in/2012/07/nodejs-basic-server-implementation-with.html

You can’t perform that action at this time.