Skip to content

Displays a list of contacts; allows to add, remove or update.

Notifications You must be signed in to change notification settings

shreyashah115/Contactlistapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contact List App

A simple Contact list app to get around Mean Stack development environment. The app essentially stores the contact that we add in mongo database and queries it back for the display. The app gives functionality to remove or edit entries from the database and update the details on the display.

Prerequisites

You need to have NodeJS and MongoDB installed on your system.

How to Run the App

  1. Open cmd in the current directory where the files have been extracted. And type...
  npm install
  • This should install all the required node modules you'll need to run the app.
  1. You can either use the default location to create the database that'd be C:\data\db or you can locally create one in your current directory by running the command...
mkdir data
  • This will create a directory in your current workspace.
  1. Open a new cmd terminal and run the following command if you're gonna use the default location for database..
mongod

Or if you created data directory in the current work environment, then run..

mongod --dbpath "Path to your data directory"
  • Dont use the quotes while giving path, also make sure your path looks like PATH\data or so.
  1. In the other terminal that is open, run the command..
node server.js
  1. Open up your browser and type localhost:3000

About

Displays a list of contacts; allows to add, remove or update.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published