This project was generated with Angular CLI.
- NPM (Node.js)
- Angular CLI:
npm install -g @angular/cli
- Firebase CLI:
npm install -g firebase-tools
- Create a file
src/environments/environment.dev.ts
and update it (this file is not purposed to node save secret values)- Open your project in the Firebase console, go in the properties pages (General tab), inside "Your apps" part you'll have all Firebase information
- Get the value from your local API URL (
https://localhost:5011
)
Run npm install
to load all dependencies.
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Warning: you may encounter CORS issues while testing with Firefox, use Chrome for local debug
Run ng generate component <folder>/<component-name> --module=<module-name>
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
Run npm run lint
to validate source code standards.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
- Update NPM:
npm install --global npm
- Follow procedure described by update.angular.io:
ng update <component>