Skip to content

ContactList Application using MEAN (MongoDB, ExpressJS, AngularJS, NodeJS)

Notifications You must be signed in to change notification settings

Karthik-Chowdary/MEAN-Stack-ContactList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

MEAN-Stack-ContactList

ContactList Application using MEAN (MongoDB, ExpressJS, AngularJS, NodeJS)

alt text

Install Homebrew

  • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    Install MongoDB

  • Open the Terminal app and type brew update.
  • After updating Homebrew brew install mongodb
  • After downloading Mongo, create the “db” directory. This is where the Mongo data files will live. You can create the directory in the default location by running mkdir -p /data/db
  • Make sure that the /data/db directory has the right permissions by running
  • sudo chown -R `id -un` /data/db
  • Enter your password
  • Run the Mongo daemon, in one of your terminal windows run mongod. This should start the Mongo server.
  • Run the Mongo shell, with the Mongo daemon running in one terminal, type mongo in another terminal window. This will run the Mongo shell which is an application to access data in MongoDB.
  • To exit the Mongo shell run quit()
  • To stop the Mongo daemon hit ctrl-c

    Install NodeJS

  • brew install node
  • Set path to /users/....../contactlist/
  • Intall these by typing in the terminal
  • Initialize npm npm init
  • Install express npm install express --save
  • Install mongoose, cors, body-parser npm install mongoose cors body-parser --save
  • Install nodemon for continuous sync sudo npm install -g --force nodemon
  • Start the server nodemon

    Install Angular

  • Install Angular CLI sudo npm install -g @angular/cli
  • Create new Angular App ng new contactlist
  • Initialize app with required fields after going into the created app : cd contactlist and then npm init
  • Start the server which should start at http://localhost:4200 ng serve

    You are good to go

  • About

    ContactList Application using MEAN (MongoDB, ExpressJS, AngularJS, NodeJS)

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published