#MEAN CRUD
M MongoDb
E Express
A Angular 2
N Node.js
C create
R read
U update
D delete
###INSTALL
-
Get files
$git clone https://github.com/cmsrs/mean_crud.git $cd ./mean_crud
-
Installing Node Modules for server
$npm install express mongoose body-parser -
Start MongoDB
$/etc/init.d/mongodb start
and change database config in file:
./server/config/db.jsif you need -
Start server
$nodejs server.js -
Test server
create 10 examples records:
$./tests/t.sh 10
-
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
-
Go to page
###VIDEO TUTORIAL
http://www.cmsrs.pl/en/cms/projects/mean-crud---mongodb-express-angular2-node.js