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 …
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 …
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 …
1. Firstly install node.js on your machine. # sudo apt-get install nodejs # sudo apt-get install npm 2. To install the firebase command line tool, use ‘npm’ to install Firebase …
Install latest version of Angular CLI using this command: # npm install -g @angular/cli OR # npm install -g @angular/cli@latest Create a new Angular project using CLI # ng new …
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 …
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 …
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 …
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 …