├── ngApp ├── .angular-cli.json ├── .editorconfig ├── .gitignore ├── README.md ├── e2e │ ├── app.e2e-spec.ts │ ├── app.po.ts │ └── tsconfig.e2e.json ├── karma.conf.js ├── package-lock.json ├── package.json ├── protractor.conf.js ├── src │ ├── app │ │ ├── app-routing.module.ts │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── auth.guard.spec.ts │ │ ├── auth.guard.ts │ │ ├── auth.service.ts │ │ ├── event.service.ts │ │ ├── events │ │ │ ├── events.component.css │ │ │ ├── events.component.html │ │ │ ├── events.component.spec.ts │ │ │ └── events.component.ts │ │ ├── login │ │ │ ├── login.component.css │ │ │ ├── login.component.html │ │ │ ├── login.component.spec.ts │ │ │ └── login.component.ts │ │ ├── register │ │ │ ├── register.component.css │ │ │ ├── register.component.html │ │ │ ├── register.component.spec.ts │ │ │ └── register.component.ts │ │ ├── special-events │ │ │ ├── special-events.component.css │ │ │ ├── special-events.component.html │ │ │ ├── special-events.component.spec.ts │ │ │ └── special-events.component.ts │ │ └── token-interceptor.service.ts │ ├── assets │ │ └── .gitkeep │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ ├── test.ts │ ├── tsconfig.app.json │ ├── tsconfig.spec.json │ └── typings.d.ts ├── tsconfig.json └── tslint.json └── server ├── .gitignore ├── models └── user.js ├── package-lock.json ├── package.json ├── routes └── api.js └── server.js /ngApp/.angular-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/.angular-cli.json -------------------------------------------------------------------------------- /ngApp/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/.editorconfig -------------------------------------------------------------------------------- /ngApp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/.gitignore -------------------------------------------------------------------------------- /ngApp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/README.md -------------------------------------------------------------------------------- /ngApp/e2e/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/e2e/app.e2e-spec.ts -------------------------------------------------------------------------------- /ngApp/e2e/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/e2e/app.po.ts -------------------------------------------------------------------------------- /ngApp/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/e2e/tsconfig.e2e.json -------------------------------------------------------------------------------- /ngApp/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/karma.conf.js -------------------------------------------------------------------------------- /ngApp/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/package-lock.json -------------------------------------------------------------------------------- /ngApp/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/package.json -------------------------------------------------------------------------------- /ngApp/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/protractor.conf.js -------------------------------------------------------------------------------- /ngApp/src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /ngApp/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ngApp/src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/app.component.html -------------------------------------------------------------------------------- /ngApp/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /ngApp/src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/app.component.ts -------------------------------------------------------------------------------- /ngApp/src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/app.module.ts -------------------------------------------------------------------------------- /ngApp/src/app/auth.guard.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/auth.guard.spec.ts -------------------------------------------------------------------------------- /ngApp/src/app/auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/auth.guard.ts -------------------------------------------------------------------------------- /ngApp/src/app/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/auth.service.ts -------------------------------------------------------------------------------- /ngApp/src/app/event.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/event.service.ts -------------------------------------------------------------------------------- /ngApp/src/app/events/events.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ngApp/src/app/events/events.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/events/events.component.html -------------------------------------------------------------------------------- /ngApp/src/app/events/events.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/events/events.component.spec.ts -------------------------------------------------------------------------------- /ngApp/src/app/events/events.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/events/events.component.ts -------------------------------------------------------------------------------- /ngApp/src/app/login/login.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ngApp/src/app/login/login.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/login/login.component.html -------------------------------------------------------------------------------- /ngApp/src/app/login/login.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/login/login.component.spec.ts -------------------------------------------------------------------------------- /ngApp/src/app/login/login.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/login/login.component.ts -------------------------------------------------------------------------------- /ngApp/src/app/register/register.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ngApp/src/app/register/register.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/register/register.component.html -------------------------------------------------------------------------------- /ngApp/src/app/register/register.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/register/register.component.spec.ts -------------------------------------------------------------------------------- /ngApp/src/app/register/register.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/register/register.component.ts -------------------------------------------------------------------------------- /ngApp/src/app/special-events/special-events.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ngApp/src/app/special-events/special-events.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/special-events/special-events.component.html -------------------------------------------------------------------------------- /ngApp/src/app/special-events/special-events.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/special-events/special-events.component.spec.ts -------------------------------------------------------------------------------- /ngApp/src/app/special-events/special-events.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/special-events/special-events.component.ts -------------------------------------------------------------------------------- /ngApp/src/app/token-interceptor.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/app/token-interceptor.service.ts -------------------------------------------------------------------------------- /ngApp/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ngApp/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /ngApp/src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/environments/environment.ts -------------------------------------------------------------------------------- /ngApp/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/favicon.ico -------------------------------------------------------------------------------- /ngApp/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/index.html -------------------------------------------------------------------------------- /ngApp/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/main.ts -------------------------------------------------------------------------------- /ngApp/src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/polyfills.ts -------------------------------------------------------------------------------- /ngApp/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/styles.css -------------------------------------------------------------------------------- /ngApp/src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/test.ts -------------------------------------------------------------------------------- /ngApp/src/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/tsconfig.app.json -------------------------------------------------------------------------------- /ngApp/src/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/tsconfig.spec.json -------------------------------------------------------------------------------- /ngApp/src/typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/src/typings.d.ts -------------------------------------------------------------------------------- /ngApp/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/tsconfig.json -------------------------------------------------------------------------------- /ngApp/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/ngApp/tslint.json -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/server/.gitignore -------------------------------------------------------------------------------- /server/models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/server/models/user.js -------------------------------------------------------------------------------- /server/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/server/package-lock.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/server/package.json -------------------------------------------------------------------------------- /server/routes/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/server/routes/api.js -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Angular-Authentication-Tutorial/HEAD/server/server.js --------------------------------------------------------------------------------