Zusammenfassung der Ressource
Angular
Anmerkungen:
- Angular is a framework to build Web Applications that work on Javascript.
- API - Application Programming Interface.
Angular CLI - Command-line Interface
- Benefits
Anmerkungen:
- * Clean Code
* Re-usable Code
* Testable Code
- Commands
Anmerkungen:
- npm install -g @angular/cli {Install angular CLI / the g is for global and install angular in all operating system}
- ng -version {version of angular and Node installed}
- ng new [name project] {created new angular project}
- ng serve {run application}
- ng analytics project off
Disable sharing anonymous usage data.
- Folders
- e2e
Anmerkungen:
- End to End test code to simulate the interaction with the user such as
* launch browser
* navigate for the application page
* and do something
- node_modules
Anmerkungen:
- src
Anmerkungen:
- app/
Anmerkungen:
- we have the source of components and modules
- assets/
Anmerkungen:
- The assets are image files icons etc
- environments/
Anmerkungen:
- We have here store the differents setup for each environment.
- We have one file for production environment and other for development environment.
- favicon.ico
Anmerkungen:
- The icon displayed in our browser tap
- index.html
- main.ts
Anmerkungen:
- the main file where start the application, the boostrapping
- polyfills.ts
Anmerkungen:
- import script that Angular needs to running
- it fills in the gaps that sometimes javascript don't support, and Angular needs
- styless.css
Anmerkungen:
- The global style for our application
- test.ts
Anmerkungen:
- .editorconfig
Anmerkungen:
- settings editor approach developers
- .gitignore
Anmerkungen:
- file to setup the version control
- angular.json
Anmerkungen:
- browserlist
- favicon.ico
- karma.conf.js
Anmerkungen:
- package.json
Anmerkungen:
- Standard file that all the projects of node must be have
- * it has basics setup options about the project.
* Dependencies for the application.
* devDependencies libraries for develop the application.
- package-lock.json
- README.md
- tsconfig.app.json
- tsconfig.json
Anmerkungen:
- it contain different options to compile the typescript code into javascript code.
- tsconfig.spec.json
- tslint.json
Anmerkungen:
- Static Analysis Tool for Readability, Maintainability and Functionality.