Category: MEAN Stack
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?…
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…
Firebase hosting setup for Angular app
1. Firstly install node.js on your machine. # sudo apt-get install nodejs # sudo apt-get install npm 2. To install the firebase…
Create PWA for Angular6 Application
Install latest version of Angular CLI using this command: # npm install -g @angular/cli OR # npm install -g @angular/cli@latest Create a…
MongoDB commands
Connect MongoDB on server 1. Use SSH to connect with port 22 2. Connect to MongoDB using command # mongo Show all…
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…
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…
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…