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
- Host: GitHub
- URL: https://github.com/cmsrs/mean_crud
- Owner: cmsrs
- Created: 2017-02-20T11:54:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T14:00:43.000Z (over 9 years ago)
- Last Synced: 2025-02-08T16:12:58.972Z (over 1 year ago)
- Language: TypeScript
- Size: 1.15 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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