├── .angulardoc.json ├── .gitignore ├── .huskyrc ├── .prettierignore ├── .prettierrc ├── README.md ├── angular.json ├── browserslist ├── commitlint.config.js ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── karma.conf.js ├── package.json ├── src ├── app │ ├── app-initialization.module.ts │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.config.ts │ ├── app.constant.ts │ ├── app.module.ts │ ├── core │ │ ├── auth │ │ │ ├── auth.module.ts │ │ │ └── helpers │ │ │ │ ├── auth-interceptor.ts │ │ │ │ ├── error-interceptor.ts │ │ │ │ ├── fake-backend.ts │ │ │ │ ├── index.ts │ │ │ │ └── jwt-interceptor.ts │ │ ├── core.module.ts │ │ └── index.ts │ ├── features │ │ └── feature-example │ │ │ ├── components │ │ │ └── component-example │ │ │ │ └── README.md │ │ │ ├── containers │ │ │ └── container-example │ │ │ │ └── README.md │ │ │ ├── feature-example-routing.module.ts │ │ │ ├── feature-example.config.ts │ │ │ ├── feature-example.constants.ts │ │ │ ├── feature-example.module.ts │ │ │ ├── helpers │ │ │ └── example.helpers.ts │ │ │ ├── services │ │ │ └── example.service.ts │ │ │ ├── store │ │ │ ├── feature-example.actions.ts │ │ │ ├── feature-example.effects.ts │ │ │ ├── feature-example.reducers.ts │ │ │ ├── feature-example.selectors.ts │ │ │ └── index.ts │ │ │ ├── types │ │ │ └── example.ts │ │ │ └── views │ │ │ └── view-example │ │ │ └── README.md │ ├── layout │ │ ├── header │ │ │ ├── header.component.html │ │ │ ├── header.component.scss │ │ │ └── header.component.ts │ │ ├── layout.module.ts │ │ └── nav │ │ │ ├── nav.component.html │ │ │ ├── nav.component.scss │ │ │ └── nav.component.ts │ ├── shared │ │ ├── components │ │ │ ├── complex-component-example │ │ │ │ ├── complex.component.html │ │ │ │ ├── complex.component.scss │ │ │ │ ├── complex.component.ts │ │ │ │ ├── complex.module.ts │ │ │ │ ├── components │ │ │ │ │ ├── example-type.ts │ │ │ │ │ ├── sub.component.html │ │ │ │ │ ├── sub.component.scss │ │ │ │ │ └── sub.component.ts │ │ │ │ └── types │ │ │ │ │ └── type-example.ts │ │ │ └── simple-component-example │ │ │ │ ├── example-type.ts │ │ │ │ ├── simple.component.html │ │ │ │ ├── simple.component.scss │ │ │ │ └── simple.component.ts │ │ ├── directives │ │ │ └── directive-example.directive.ts │ │ ├── helpers │ │ │ └── helpers-example.helpers.ts │ │ ├── index.ts │ │ ├── pipes │ │ │ └── pipe-example.pipe.ts │ │ ├── shared.module.ts │ │ └── types │ │ │ └── type-example.ts │ ├── styles │ │ ├── base.scss │ │ ├── reset.scss │ │ └── variables.scss │ └── views │ │ ├── page-not-found │ │ ├── page-not-found.view.html │ │ ├── page-not-found.view.scss │ │ └── page-not-found.view.ts │ │ └── views.module.ts ├── assets │ └── .gitkeep ├── environments │ ├── .env.ts │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts ├── styles.scss └── test.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json /.angulardoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/.angulardoc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/.gitignore -------------------------------------------------------------------------------- /.huskyrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/.huskyrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/README.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/angular.json -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/browserslist -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = {extends: ['@commitlint/config-conventional']} 2 | -------------------------------------------------------------------------------- /e2e/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/e2e/protractor.conf.js -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/e2e/src/app.e2e-spec.ts -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/e2e/src/app.po.ts -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/e2e/tsconfig.json -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/karma.conf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/package.json -------------------------------------------------------------------------------- /src/app/app-initialization.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app-initialization.module.ts -------------------------------------------------------------------------------- /src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app.component.html -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/app.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app.config.ts -------------------------------------------------------------------------------- /src/app/app.constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app.constant.ts -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/core/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/core/auth/auth.module.ts -------------------------------------------------------------------------------- /src/app/core/auth/helpers/auth-interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/core/auth/helpers/auth-interceptor.ts -------------------------------------------------------------------------------- /src/app/core/auth/helpers/error-interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/core/auth/helpers/error-interceptor.ts -------------------------------------------------------------------------------- /src/app/core/auth/helpers/fake-backend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/core/auth/helpers/fake-backend.ts -------------------------------------------------------------------------------- /src/app/core/auth/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './fake-backend' 2 | -------------------------------------------------------------------------------- /src/app/core/auth/helpers/jwt-interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/core/auth/helpers/jwt-interceptor.ts -------------------------------------------------------------------------------- /src/app/core/core.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/core/core.module.ts -------------------------------------------------------------------------------- /src/app/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/core/index.ts -------------------------------------------------------------------------------- /src/app/features/feature-example/components/component-example/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/containers/container-example/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/feature-example-routing.module.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/feature-example.config.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/feature-example.constants.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/feature-example.module.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/helpers/example.helpers.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/services/example.service.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/store/feature-example.actions.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/store/feature-example.effects.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/store/feature-example.reducers.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/store/feature-example.selectors.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/store/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/types/example.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/features/feature-example/views/view-example/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/layout/header/header.component.html: -------------------------------------------------------------------------------- 1 |
header works!
2 | -------------------------------------------------------------------------------- /src/app/layout/header/header.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/layout/header/header.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/layout/header/header.component.ts -------------------------------------------------------------------------------- /src/app/layout/layout.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/layout/layout.module.ts -------------------------------------------------------------------------------- /src/app/layout/nav/nav.component.html: -------------------------------------------------------------------------------- 1 |nav works!
2 | -------------------------------------------------------------------------------- /src/app/layout/nav/nav.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/layout/nav/nav.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/layout/nav/nav.component.ts -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/complex.component.html: -------------------------------------------------------------------------------- 1 |complex works!
2 | -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/complex.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/complex.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/shared/components/complex-component-example/complex.component.ts -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/complex.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/shared/components/complex-component-example/complex.module.ts -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/components/example-type.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/components/sub.component.html: -------------------------------------------------------------------------------- 1 |sub works!
2 | -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/components/sub.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/components/sub.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/shared/components/complex-component-example/components/sub.component.ts -------------------------------------------------------------------------------- /src/app/shared/components/complex-component-example/types/type-example.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/components/simple-component-example/example-type.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/components/simple-component-example/simple.component.html: -------------------------------------------------------------------------------- 1 |simple works!
2 | -------------------------------------------------------------------------------- /src/app/shared/components/simple-component-example/simple.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/components/simple-component-example/simple.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/shared/components/simple-component-example/simple.component.ts -------------------------------------------------------------------------------- /src/app/shared/directives/directive-example.directive.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/helpers/helpers-example.helpers.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/index.ts: -------------------------------------------------------------------------------- 1 | export * from './shared.module'; 2 | -------------------------------------------------------------------------------- /src/app/shared/pipes/pipe-example.pipe.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/shared/shared.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/shared/shared.module.ts -------------------------------------------------------------------------------- /src/app/shared/types/type-example.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/styles/base.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/styles/base.scss -------------------------------------------------------------------------------- /src/app/styles/reset.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/styles/reset.scss -------------------------------------------------------------------------------- /src/app/styles/variables.scss: -------------------------------------------------------------------------------- 1 | $link-color: #3f51b5; 2 | -------------------------------------------------------------------------------- /src/app/views/page-not-found/page-not-found.view.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/views/page-not-found/page-not-found.view.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/views/page-not-found/page-not-found.view.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/views/page-not-found/page-not-found.view.ts -------------------------------------------------------------------------------- /src/app/views/views.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/app/views/views.module.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/environments/.env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/environments/.env.ts -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/environments/environment.prod.ts -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/environments/environment.ts -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/index.html -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/polyfills.ts -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- 1 | @import 'app/styles/base' 2 | -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/src/test.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/tsconfig.spec.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoul007/Angular-project-structure/HEAD/tslint.json --------------------------------------------------------------------------------