├── .editorconfig ├── .gitignore ├── .vscode ├── launch.json └── tasks.json ├── README.md ├── angular.json ├── browserslist ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── karma.conf.js ├── package.json ├── src ├── app │ ├── admin-dashboard │ │ ├── admin-dashboard.component.html │ │ ├── admin-dashboard.component.scss │ │ ├── admin-dashboard.component.spec.ts │ │ └── admin-dashboard.component.ts │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── home │ │ ├── home.component.html │ │ ├── home.component.scss │ │ ├── home.component.spec.ts │ │ └── home.component.ts │ ├── not-found │ │ ├── not-found.component.html │ │ ├── not-found.component.scss │ │ ├── not-found.component.spec.ts │ │ └── not-found.component.ts │ ├── services │ │ ├── auth.guard.spec.ts │ │ ├── auth.guard.ts │ │ ├── auth.service.spec.ts │ │ └── auth.service.ts │ └── user-dashboard │ │ ├── user-dashboard.component.html │ │ ├── user-dashboard.component.scss │ │ ├── user-dashboard.component.spec.ts │ │ └── user-dashboard.component.ts ├── assets │ └── .gitkeep ├── environments │ ├── 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 └── usage.md /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/README.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/angular.json -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/browserslist -------------------------------------------------------------------------------- /e2e/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/e2e/protractor.conf.js -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/e2e/src/app.e2e-spec.ts -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/e2e/src/app.po.ts -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/e2e/tsconfig.json -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/karma.conf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/package.json -------------------------------------------------------------------------------- /src/app/admin-dashboard/admin-dashboard.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/admin-dashboard/admin-dashboard.component.html -------------------------------------------------------------------------------- /src/app/admin-dashboard/admin-dashboard.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/admin-dashboard/admin-dashboard.component.scss -------------------------------------------------------------------------------- /src/app/admin-dashboard/admin-dashboard.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/admin-dashboard/admin-dashboard.component.spec.ts -------------------------------------------------------------------------------- /src/app/admin-dashboard/admin-dashboard.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/admin-dashboard/admin-dashboard.component.ts -------------------------------------------------------------------------------- /src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/app.component.html -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/home/home.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/home/home.component.html -------------------------------------------------------------------------------- /src/app/home/home.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/home/home.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/home/home.component.spec.ts -------------------------------------------------------------------------------- /src/app/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/home/home.component.ts -------------------------------------------------------------------------------- /src/app/not-found/not-found.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/not-found/not-found.component.html -------------------------------------------------------------------------------- /src/app/not-found/not-found.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/not-found/not-found.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/not-found/not-found.component.spec.ts -------------------------------------------------------------------------------- /src/app/not-found/not-found.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/not-found/not-found.component.ts -------------------------------------------------------------------------------- /src/app/services/auth.guard.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/services/auth.guard.spec.ts -------------------------------------------------------------------------------- /src/app/services/auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/services/auth.guard.ts -------------------------------------------------------------------------------- /src/app/services/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/services/auth.service.spec.ts -------------------------------------------------------------------------------- /src/app/services/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/services/auth.service.ts -------------------------------------------------------------------------------- /src/app/user-dashboard/user-dashboard.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/user-dashboard/user-dashboard.component.html -------------------------------------------------------------------------------- /src/app/user-dashboard/user-dashboard.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/user-dashboard/user-dashboard.component.scss -------------------------------------------------------------------------------- /src/app/user-dashboard/user-dashboard.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/user-dashboard/user-dashboard.component.spec.ts -------------------------------------------------------------------------------- /src/app/user-dashboard/user-dashboard.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/app/user-dashboard/user-dashboard.component.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/environments/environment.ts -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/index.html -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/polyfills.ts -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/styles.scss -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/src/test.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/tsconfig.spec.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/tslint.json -------------------------------------------------------------------------------- /usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderkan/ng-guard-sample/HEAD/usage.md --------------------------------------------------------------------------------