项目作者: Ferouk

项目描述 :
A Sample MongoDB, Express JS, Angular JS, Node JS Contact List App
高级语言: JavaScript
项目地址: git://github.com/Ferouk/Sample-MEAN-Contact-List.git
创建时间: 2015-11-30T01:15:00Z
项目社区:https://github.com/Ferouk/Sample-MEAN-Contact-List

开源协议:MIT License

下载


Sample MEAN Contact List

A Sample MongoDB, Express, Angular JS, Node JS Contact List App

Configuration

Database

Go to server/config/config.js and edit mongodb url to your own mongodb URI
mongodb://username:password@host:port/dbname

  1. module.exports = {
  2. url : 'YOUR_DB_URL_HERE'
  3. }

Dependencies

Open a terminal in server folder and then

  1. npm install

Required dependencies :

  • body-parser: “^1.14.1”
  • express: “^4.13.3”
  • mongoose: “^4.2.8”

Run

After modules install is completed, start the app using node

  1. node server

or using nodemon

  1. nodemon server

That’s it go to http://localhost:3000/