-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Einar Huseby edited this page Jan 8, 2018
·
8 revisions
- REST Api defined in api/
- Applications are prefixed "app-*"
-
Services in services/
- Authentication in services/auth
The structure is as in a collection of applications with shared resources.
- All logical application containers are all prefixed
app-and placed in root - The main files of the respective applications are also prefixed
app-in the applictions root - Further logical subapplications are not prefixed
- Shared resources are not prefixed
app/
app-user/
app-user.component.ts
app-user.template.ts
user-settings/
user-settings.component.ts
user-settings.template.ts
resolve/
resolve-user/
resolve-user.component.ts
app-user/ is a logical container for the user application with the component having selector app-user and classname AppUserComponent.
app-user/user-settings/ is the logical container for the users' settings with the component having the selector app-user-settings and classname AppUserSettingsComponent
resolve/ is the logical container for all resolvers. All resolvers' selectors are prefixed app-resolve- and classnames appResolve
- All selectors shall be prefixed
app-regardsless of the file being prefixed or not - All classnames shall be prefixed
appfollowing the structure of the selectors
Structured as per application/collection of components. Common and shared resources are in root folder by category (services...). Components can and will be share across applications