View on GitHub

Node-user-management

An example node application demonstrates support for a Mongo database based user system and authenticating users.

download .ZIPdownload .TGZ

NODE USER MANAGEMENT

The node-user-management demonstrates an sample application support for a Mongo database based user system and authenticating users. It generally focuses to beginners in node.js. The application will give them a basic idea about Express framework for node with MongoDB as data storage.

This application have used express-validator, an express.js middleware for node-validator for input validations.

Features include:

Caution: This repository is developed in sync with Express framework for node.js.

Documentation & Installation

Prerequisites

  1. Install node.js in server.
  2. Install MongoDB in server.

Note: Please create a database called test in MongoDB. Also check mongo connection present in routes/users.js with your crendentials for connection.

Installation

Step 1. Clone or download the repository.

git clone git@github.com:justin-john/node-user-management.git

Step 2. Go to root of your cloned/downloaded directory and use below command in terminal to install all dependencies, which is defined in package.json file.

npm install

Step 3. Enter below command. Use this command after any change is made in files.

node app

Step 4. Go to url http://localhost:3000.

Read the full documentation

About

See also the list of contributors.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

License

(MIT license)

Copyright (c) 2013 Justin John Mathews justinjohnmathews@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.