- Prime-banc
- Prime
This project was generated with Angular CLI version 9.1.3.
- Install node js available at https://nodejs.org/en/
If you are planning to work on projects with different node versions, Install NVM
- NVM available at location: NVM-Releases
To install a particular version of node use the below command
nvm install <<version>>
To use a particular version of node
nvm use <<version>>
To list all the installed node versions
nvm list
A utility for bootstrapping angular project and generating code. To install angular cli in a machine run the following command in terminal after installing node.
npm install -g @angular/cli
CLI can be used for generating components, services and many more
//to generate component
ng generate component <<componentName>>
// To generate service
ng generate service <<service name>>
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.
We can also use
npm start
to start development server
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.
- clone repository
- navigate to folder
- run npm install
- run
ng serve
ornpm start
, app will be running on port 4200 (http://localhost:4200)
npm install bootstrap
to add boot strap to projectnpm install jquery
to install jquery to project.
Add the below entries to angular.json
node_modules/bootstrap/dist/css/bootstrap.css in the projects->architect->build->styles array,
node_modules/bootstrap/dist/js/bootstrap.js in the projects->architect->build->scripts array,
node_modules/bootstrap/dist/js/bootstrap.js in the projects->architect->build->scripts array,
- To verify a branch command is
git branch
- To save the current version of your git project
- command used to do it
git stash save <<stash-name>>
- example:
git stash save customer
stashing is also known as dirty folders save
- To see all the stashes available
- To get the stash back
- example:
git stash apply stash{0}
- To delete the stashes available in stash list
- It is a non recoverable command
- To track the remote branches
Apps and services are no longer hosted.
#TODO how routing works #TODO Usage of HttpClient and HttpClientModule #fortesting