-
Notifications
You must be signed in to change notification settings - Fork 0
/
Folder Structure & Booting Process
46 lines (42 loc) · 1.59 KB
/
Folder Structure & Booting Process
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
1. E2E
- end to end test scripts will be residing.
- Protractor framework is used to run end to end functional tests.
-app.po.ts -> Protractor file which will have "po" file.
- app.e2e-spec.ts -> end to end(e2e), unit test(spec) script file.
2. Node-modules
-modules & libraries reside.
-add/remove modules/packages.
-not to be touched for dev purpose.
3. src
- main workarea where components,modules, services,directives,pipes,etc.
-app.component.ts( component file)
-app.module.ts(module)
- app.service.ts(service files)
-app.component-spec.ts(Unit test scripts)
- assets
-styles
-icons
-images
-env
-configure varibales or pipelines for dev,test,stage and prod.
-polyfills
-backward compatibility to outdated browsers to support es6 functionalities.
4. Angular.json
-NIA project configuration
5. Styles.css
-global stylesheet
-not to be made heavy
-Generic/Common typography,fonts,styles.
6.Karma.conf.js
-karma runner for test scripts.
7. tsconfig.json
-BUILD AND COMPILATION CONFIGURATIONS
-----------------------------------------------------------------------------------------------------------
BOOTING PROCESS:
Main.ts
-First file to be auto loaded in the app.
-At least one module should be present.
-Default module provided is App-module.
-bootstrapmodule() is provided so that the default module can be changed.
index.html
-the default view which is routed to app/app-component.ts