An open API service indexing awesome lists of open source software.

https://github.com/cmsrs/mean_crud

crud mean = MongoDb / Express / angular 2 / Node.js
https://github.com/cmsrs/mean_crud

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

#MEAN CRUD

*M* MongoDb
*E* Express
*A* Angular 2
*N* Node.js

*C* create
*R* read
*U* update
*D* delete

###INSTALL

1. Get files

```shell
$git clone https://github.com/cmsrs/mean_crud.git
$cd ./mean_crud
```

2. Installing Node Modules for server

```shell
$npm install express mongoose body-parser
```

3. Start MongoDB

```shell
$/etc/init.d/mongodb start
```

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


4. Start server

```shell
$nodejs server.js
```

5. Test server

create 10 examples records:

```shell
$./tests/t.sh 10
```

6. Install angular 2 and dependents for client

```shell
$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
```


7. Go to page



###VIDEO TUTORIAL