Create a project in Angular

Type following command to create a new project: # ng new <PROJECT-NAME> It will ask “Would you like to add Angular routing? (y/N)” – Type y and hit EnterOn the …

Install NodeJs and Angular CLI

How to Install NodeJs and Angular CLI Steps for installing NodeJS Open https://nodejs.org/ Download the LTS version and install it. ( *LTS – Long term support) After installation, opens the …

MongoDB commands

Connect MongoDB on server 1. Use SSH to connect with port 22 2. Connect to MongoDB using command # mongo Show all the databases on the server # show dbs …

Node.js

How to enable v8 inspector for debugging and profiling? –inspect –inspect=<PORT NO> NodeJS is advised to be used for? Single Page Applications JSON APIs based Applications Data steaming applications Data …

MEAN project using Angular cli (commands)

Install the dependencies into node_modules folder. #npm install Angular cli Installing the Angular/cli globally #[sudo] npm install -g @angular/cli Updating the Angular/cli globally #[sudo] npm uninstall -g angular-cli @angular/cli #npm …

Useful Node Commands

Node Commands: Install the dependencies into node_modules folder. #npm install Install the package globally #npm install <package Name> Uninstall the package globally #npm uninstall <package Name> To update to latest …