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: