Angular 8 File Structure
- e2e(end-to-end) – This folder contains test cases for testing the complete application along with its specific configuration files.
- node_modules – Contains all the node-modules used in the angular application.
- src – Complete source code of the application resides in src folder.
- app – root component of the application.
- assets – contains all the images or resources used in the application.
- environments – contains build configuration environments of the application. We can create any target environment and specify its configuration here.
- index.html – This is the main html page which is rendered when someone opens your website or application.
- main.ts – This is the main entry point of the angular application which compiles the AppModule and renders the specified bootstrap component in the browser.
- styles.css – Contains all the styles to be used as globally in the application.
- .editorconfig – This file is used for defining consistent configuration.
- angular.json – This file is mainly used for specifying configuration of CLI. It includes configuration of build, serve, test, lint, e2e commands which are used by @angular-cli.
- karma.conf.js – This specifies configuration for karma, which is used for testing angular applications.
- package.json – Specifies all the project dependencies.
- tsconfig.json – defines configuration of TypeScript in project.
- tslint.json – defines TSLint configuration for project. TSLint is an extensible static analysis tool for TypeScript.
Comments
Post a Comment