Mock RBC Capital Market's crypto-receivables platform.
Install node package manager (npm). Then, in this directory, run:
npm install -g @angular/cli
npm i --force
If you get an error like "Your cache folder contains root-owned files", you might need to run:
sudo chown -R 501:20 "/Users/yourusername/.npm"
npm i --force
ng serve
> http://localhost:4200/
npm run db-server
> http://localhost:5000/companies
npm run news-server
> http://localhost:3000/articles
npm run resource-server
> http://localhost:5001/some_resource_folder/...
ng generate service services/…
ng generate component components/…
See tutorial at https://www.youtube.com/watch?v=3dHNOWTI7H8&t=5709s
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.