A simple CRUD operation in admin panel using angular4 and node.js.
This project was generated with angular-cli version cmd> ng --version
- @angular/cli: 1.1.3
- node: 6.11.1
- os: win32 ia32
- @angular/animations: 4.2.4
- @angular/common: 4.2.4
- @angular/compiler: 4.2.4
- @angular/core: 4.2.4
- @angular/forms: 4.2.4
- @angular/http: 4.2.4
- @angular/platform-browser: 4.2.4
- @angular/platform-browser-dynamic: 4.2.4
- @angular/router: 4.2.4
- @angular/cli: 1.1.3
- @angular/compiler-cli: 4.2.4
- @angular/language-service: 4.2.4
Go to current project folder
Opern command prompt (cmd)
* cmd > ng serve or
* cmd > ng serve -o or,
* cmd > ng serve --open
** (for a dev server Navigate to http://localhost:4200/).
- The app will automatically render output whenever change made in your any file of ng2 app.
- cmd> ng g c or ng generate component
- cmd> ng generate class task --spec
- cmd> ng g s user
for more you can visit : https://github.com/angular/angular-cli
- you need to install nodejs & setup small server using node with expressjs.
- I have used modular structure for server setup
- cmd > npm install
- cmd > npm start