Directory Structure

A typical directory structure of the workspace consist of various applications including the one that are common in terms of user management and authentication.

A typical directory structure of an application is described below.

.
|-- AppList.json                       --> workspace metadata
|-- quote                              --> application
|   |-- _vendor
|   |   |-- css.txt                    --> list of external CSS files (CDN or locally copied)
|   |   |-- js.txt                     --> list of external JS files (CDN or locally copied)
|   |   |-- material
|   |   |-- min_css.txt
|   |   `-- min_js.txt
|   |-- domainMeta                     -->  domain / application specific metadata
|   |   |-- files
|   |   |   `-- EmailConfig.json
|   |   `-- templates
|   |       `-- policy_activation.ftl
|   |-- function                       -->  serverless functions
|   |   |-- apiSpecs
|   |   |   |-- createPolicy.json
|   |   |   `-- genQuote.json
|   |   |-- createPolicy.json
|   |   `-- genQuote.json
|   |-- service                        -->   external API services
|   |   |-- _api
|   |   |   `-- datacubes.json
|   |   |-- apiSpecs
|   |   |   `-- datacubes.json
|   |   `-- datacubes.json
|   |-- static
|   |   |-- css
|   |   |   |-- quote.css
|   |   |   `-- quote_CSS_Order.txt     --> order of application CSS files
|   |   |-- img                         --> image / media files directory
|   |   |   |-- Trillo.png
|   |   |   `-- twitter.png
|   |   `-- js
|   |       |-- AddressC.js
|   |       `-- topNavC.js
|   |-- view                            --> html templates
|   |   |-- Address.htm
|   |   |-- quoteWizard.htm
|   |   |-- sidebar.htm
|   |   |-- test_
|   |   |   `-- quoteWizard.json
|   |   |-- topNav.htm
|   |   `-- wrapper.htm
|   |-- viewSpec                        -->  component specifications
|   |    |-- Address.json
|   |-- dataSource                      -->  data source definitions
|   |   |-- common
|   |   |   |-- Account.json
|   |   |   `-- apiSpecs
|   |   `-- common.json
`----- enum                             -->  enumerations
       |-- support-request-types.json
        `-- task-status-types.json