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 …