summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/admin/src/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'components/datalake-handler/admin/src/README.md')
-rw-r--r--components/datalake-handler/admin/src/README.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/components/datalake-handler/admin/src/README.md b/components/datalake-handler/admin/src/README.md
index 8b137891..7f3764cf 100644
--- a/components/datalake-handler/admin/src/README.md
+++ b/components/datalake-handler/admin/src/README.md
@@ -1 +1,45 @@
+
+
+### Directory Layout
+ The source code layout is as follow:
+ -- app
+ -- shared -----> container of pubilc parts
+ -- components -----> container of pubilc components
+ -- alert
+ -- toastr-notification
+ -- ...more components
+ -- modules -----> container of public business modules
+ -- card
+ -- modal
+ -- search
+ -- table
+ -- layout -----> container of basic layout of all pages
+ -- header
+ -- sidebar
+ -- utils -----> container of general functions
+ -- core -----> container of core functions
+ -- models
+ -- services
+ -- views -----> container of all business pages
+ -- about
+ -- dashboard-setting
+ -- database
+ -- feeder
+ -- topics
+ -- ...more modules
+ -- app-routing.module.ts -----> container of all pages routers
+ -- app-component.css
+ -- app-component.html
+ -- app-component.ts
+ -- app-module.ts
+ -- assets
+ -- i18n
+ -- index.html
+ -- main.ts
+ -- styles.css
+ -- ...other config documents
+
+> The layout is used for organizing a new module, **PLEASE** take care of the difference between ```components``` and ``` modules```. Make sure that all parts added in the ``` components``` are ``` dump components``` and all the parts which are related to the **business** should be added in the ``` modules```. Good luck 🙂.
+
+> The service folder is used for created some reused services. **PLEASE** put the specific services into the related folders. For example, put the toastr-notification service into the ```components/toastr-notification``` folder.