Skip to content
No description, website, or topics provided.
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.
public/js
routes
views
.bowerrc
.gitignore
README.md
app.js
bower.json
package.json

README.md

Basic contact manager written using the MEAN stack

Libraries used

  • node.js / npm
  • express
  • MongoDB
  • Mongoose
  • ejs
  • AngularJS
  • Angular-UI

Functionality

Basic functionality to add/view/update/delete (CRUD) a contact

Setup and configuration

Make sure that you update app.js:

app.set('port', process.env.OPENSHIFT_NODEJS_PORT || 3000);
  app.set('ipaddr', process.env.OPENSHIFT_NODEJS_IP || "192.168.56.102");

and add your own IP address/hostname/port number if required.

You may also want to configure /routes/api.js - to connect to the right MongoDB collection:

mongoose.connect('mongodb://localhost/contact');

Finally to install execute: npm install && bower install

To start the projet: node app.js

New up to date post: http://tamas.io/updated-mean-contact-manager/

Previous articles related to this topic:

You can’t perform that action at this time.