This project was generated with Angular CLI version 6.0.8.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
In root dir we have server file(express server), models folder which describes the structure of mongodb tables, server folder contains a lib and a routes folder. lib folder contains file which have common function to be used by routes folder.routes folder contains route based handling of each request from the front-end. In src/app folder lies the angular code.
To run angular server type ng serve To run node server type nodemon server To run mongodb server-> Go to C:/Program Files/Mongodb/3.2/bin/mongodb
Before running node server its important to run ng build to compile new changes of angular code.
Type ng g c name --module=app.module
Type ng g s services/name --module=app.module
app.module - main module files containg all services and components app-routing.module - in this module we define links to each component material.module - in this module we register all angular material components being used