diff options
author | 2019-07-19 09:06:41 +0000 | |
---|---|---|
committer | 2019-07-19 09:22:53 +0000 | |
commit | 8d0fdceb9f3fbb34bd459f0afbd9c3987f46cb53 (patch) | |
tree | 6614e04b39f0f89f5578915bc2028c8276e4a262 /components/datalake-handler/admin/src/README.md | |
parent | 48f20d4423734d2dd1653d8d6ffaf694cb44ad18 (diff) |
Change the project structure of the UI.
1. Modify README.
2. Add LICENSE and mockup directory.
Issue-ID: DCAEGEN2-1671
Signed-off-by: Ekko Chang <ekko.chang@qct.io>
Change-Id: I59b39919f3b31c515028b109e3af810aca93bd62
Diffstat (limited to 'components/datalake-handler/admin/src/README.md')
-rw-r--r-- | components/datalake-handler/admin/src/README.md | 104 |
1 files changed, 62 insertions, 42 deletions
diff --git a/components/datalake-handler/admin/src/README.md b/components/datalake-handler/admin/src/README.md index 7f3764cf..4af92343 100644 --- a/components/datalake-handler/admin/src/README.md +++ b/components/datalake-handler/admin/src/README.md @@ -1,45 +1,65 @@ +# DataLake Admin UI +DataLake Admin UI aims to provide the administrator with a user-friendly dashboard to easily monitor and manage ONAP topics, database, and tools via REST API from DataLake Feeder backend system. +See more [DataLake Proposal on ONAP](https://wiki.onap.org/display/DW/DataLake "DataLake Proposal on ONAP") -### 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. +### Getting Started + +1. Go to project folder and install dependencies: + +```bash +npm install +``` + +2. Launch development server, and open `localhost:4200` in your browser: + +```bash +npm start +``` + +### Project Structure + +``` +-- 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 + -- mockup -----> mockup data for pages + -- 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. |