Skip to content

cmsrs/mean_crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#MEAN CRUD

M MongoDb
E Express
A Angular 2
N Node.js

C create
R read
U update
D delete

###INSTALL

  1. Get files

    $git clone https://github.com/cmsrs/mean_crud.git
    $cd ./mean_crud
  2. Installing Node Modules for server

    $npm install  express  mongoose body-parser
  3. Start MongoDB

    $/etc/init.d/mongodb  start

    and change database config in file: ./server/config/db.js if you need

  4. Start server

    $nodejs server.js
  5. Test server

    create 10 examples records:

    $./tests/t.sh 10
  6. Install angular 2 and dependents for client

    $git clone https://github.com/angular/quickstart.git app
    $cd app
    $npm install 
    $mv src src_org; mv ../app_src .; mv app_src src
    $npm start   

    http://localhost:3001

  7. Go to page

    http://localhost:3000

###VIDEO TUTORIAL

http://www.cmsrs.pl/en/cms/projects/mean-crud---mongodb-express-angular2-node.js

About

crud mean = MongoDb / Express / angular 2 / Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors