├── .gitignore ├── README.md ├── client ├── .editorconfig ├── .gitignore ├── angular-cli.json ├── e2e │ ├── app.e2e-spec.ts │ ├── app.po.ts │ └── tsconfig.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 │ │ ├── components │ │ │ ├── blog │ │ │ │ ├── blog.component.css │ │ │ │ ├── blog.component.html │ │ │ │ ├── blog.component.spec.ts │ │ │ │ ├── blog.component.ts │ │ │ │ ├── delete-blog │ │ │ │ │ ├── delete-blog.component.css │ │ │ │ │ ├── delete-blog.component.html │ │ │ │ │ ├── delete-blog.component.spec.ts │ │ │ │ │ └── delete-blog.component.ts │ │ │ │ └── edit-blog │ │ │ │ │ ├── edit-blog.component.css │ │ │ │ │ ├── edit-blog.component.html │ │ │ │ │ ├── edit-blog.component.spec.ts │ │ │ │ │ └── edit-blog.component.ts │ │ │ ├── dashboard │ │ │ │ ├── dashboard.component.css │ │ │ │ ├── dashboard.component.html │ │ │ │ ├── dashboard.component.spec.ts │ │ │ │ └── dashboard.component.ts │ │ │ ├── home │ │ │ │ ├── home.component.css │ │ │ │ ├── home.component.html │ │ │ │ ├── home.component.spec.ts │ │ │ │ └── home.component.ts │ │ │ ├── login │ │ │ │ ├── login.component.css │ │ │ │ ├── login.component.html │ │ │ │ ├── login.component.spec.ts │ │ │ │ └── login.component.ts │ │ │ ├── navbar │ │ │ │ ├── navbar.component.css │ │ │ │ ├── navbar.component.html │ │ │ │ ├── navbar.component.spec.ts │ │ │ │ └── navbar.component.ts │ │ │ ├── profile │ │ │ │ ├── profile.component.css │ │ │ │ ├── profile.component.html │ │ │ │ ├── profile.component.spec.ts │ │ │ │ └── profile.component.ts │ │ │ ├── public-profile │ │ │ │ ├── public-profile.component.css │ │ │ │ ├── public-profile.component.html │ │ │ │ ├── public-profile.component.spec.ts │ │ │ │ └── public-profile.component.ts │ │ │ └── register │ │ │ │ ├── register.component.css │ │ │ │ ├── register.component.html │ │ │ │ ├── register.component.spec.ts │ │ │ │ └── register.component.ts │ │ ├── guards │ │ │ ├── auth.guard.ts │ │ │ └── notAuth.guard.ts │ │ └── services │ │ │ ├── auth.service.spec.ts │ │ │ ├── auth.service.ts │ │ │ ├── blog.service.spec.ts │ │ │ └── blog.service.ts │ ├── assets │ │ └── .gitkeep │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ ├── test.ts │ └── tsconfig.json └── tslint.json ├── config └── database.js ├── env.js ├── index.js ├── models ├── blog.js └── user.js ├── package.json └── routes ├── authentication.js └── blogs.js /.gitignore: -------------------------------------------------------------------------------- 1 | # dependencies 2 | /node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/README.md -------------------------------------------------------------------------------- /client/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/.editorconfig -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/angular-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/angular-cli.json -------------------------------------------------------------------------------- /client/e2e/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/e2e/app.e2e-spec.ts -------------------------------------------------------------------------------- /client/e2e/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/e2e/app.po.ts -------------------------------------------------------------------------------- /client/e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/e2e/tsconfig.json -------------------------------------------------------------------------------- /client/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/karma.conf.js -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/package.json -------------------------------------------------------------------------------- /client/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/protractor.conf.js -------------------------------------------------------------------------------- /client/src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /client/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/app.component.html -------------------------------------------------------------------------------- /client/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/app.component.ts -------------------------------------------------------------------------------- /client/src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/app.module.ts -------------------------------------------------------------------------------- /client/src/app/components/blog/blog.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/blog.component.css -------------------------------------------------------------------------------- /client/src/app/components/blog/blog.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/blog.component.html -------------------------------------------------------------------------------- /client/src/app/components/blog/blog.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/blog.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/blog/blog.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/blog.component.ts -------------------------------------------------------------------------------- /client/src/app/components/blog/delete-blog/delete-blog.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/blog/delete-blog/delete-blog.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/delete-blog/delete-blog.component.html -------------------------------------------------------------------------------- /client/src/app/components/blog/delete-blog/delete-blog.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/delete-blog/delete-blog.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/blog/delete-blog/delete-blog.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/delete-blog/delete-blog.component.ts -------------------------------------------------------------------------------- /client/src/app/components/blog/edit-blog/edit-blog.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/blog/edit-blog/edit-blog.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/edit-blog/edit-blog.component.html -------------------------------------------------------------------------------- /client/src/app/components/blog/edit-blog/edit-blog.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/edit-blog/edit-blog.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/blog/edit-blog/edit-blog.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/blog/edit-blog/edit-blog.component.ts -------------------------------------------------------------------------------- /client/src/app/components/dashboard/dashboard.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/dashboard/dashboard.component.html: -------------------------------------------------------------------------------- 1 |

Dashboard Route

2 | -------------------------------------------------------------------------------- /client/src/app/components/dashboard/dashboard.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/dashboard/dashboard.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/dashboard/dashboard.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/dashboard/dashboard.component.ts -------------------------------------------------------------------------------- /client/src/app/components/home/home.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/home/home.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/home/home.component.html -------------------------------------------------------------------------------- /client/src/app/components/home/home.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/home/home.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/home/home.component.ts -------------------------------------------------------------------------------- /client/src/app/components/login/login.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/login/login.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/login/login.component.html -------------------------------------------------------------------------------- /client/src/app/components/login/login.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/login/login.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/login/login.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/login/login.component.ts -------------------------------------------------------------------------------- /client/src/app/components/navbar/navbar.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/navbar/navbar.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/navbar/navbar.component.html -------------------------------------------------------------------------------- /client/src/app/components/navbar/navbar.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/navbar/navbar.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/navbar/navbar.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/navbar/navbar.component.ts -------------------------------------------------------------------------------- /client/src/app/components/profile/profile.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/profile/profile.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/profile/profile.component.html -------------------------------------------------------------------------------- /client/src/app/components/profile/profile.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/profile/profile.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/profile/profile.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/profile/profile.component.ts -------------------------------------------------------------------------------- /client/src/app/components/public-profile/public-profile.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/public-profile/public-profile.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/public-profile/public-profile.component.html -------------------------------------------------------------------------------- /client/src/app/components/public-profile/public-profile.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/public-profile/public-profile.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/public-profile/public-profile.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/public-profile/public-profile.component.ts -------------------------------------------------------------------------------- /client/src/app/components/register/register.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/app/components/register/register.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/register/register.component.html -------------------------------------------------------------------------------- /client/src/app/components/register/register.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/register/register.component.spec.ts -------------------------------------------------------------------------------- /client/src/app/components/register/register.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/components/register/register.component.ts -------------------------------------------------------------------------------- /client/src/app/guards/auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/guards/auth.guard.ts -------------------------------------------------------------------------------- /client/src/app/guards/notAuth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/guards/notAuth.guard.ts -------------------------------------------------------------------------------- /client/src/app/services/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/services/auth.service.spec.ts -------------------------------------------------------------------------------- /client/src/app/services/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/services/auth.service.ts -------------------------------------------------------------------------------- /client/src/app/services/blog.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/services/blog.service.spec.ts -------------------------------------------------------------------------------- /client/src/app/services/blog.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/app/services/blog.service.ts -------------------------------------------------------------------------------- /client/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/environments/environment.prod.ts -------------------------------------------------------------------------------- /client/src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/environments/environment.ts -------------------------------------------------------------------------------- /client/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/favicon.ico -------------------------------------------------------------------------------- /client/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/index.html -------------------------------------------------------------------------------- /client/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/main.ts -------------------------------------------------------------------------------- /client/src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/polyfills.ts -------------------------------------------------------------------------------- /client/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/styles.css -------------------------------------------------------------------------------- /client/src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/test.ts -------------------------------------------------------------------------------- /client/src/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/src/tsconfig.json -------------------------------------------------------------------------------- /client/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/client/tslint.json -------------------------------------------------------------------------------- /config/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/config/database.js -------------------------------------------------------------------------------- /env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/env.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/index.js -------------------------------------------------------------------------------- /models/blog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/models/blog.js -------------------------------------------------------------------------------- /models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/models/user.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/package.json -------------------------------------------------------------------------------- /routes/authentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/routes/authentication.js -------------------------------------------------------------------------------- /routes/blogs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gugui3z24/MEAN-Stack-With-Angular-2-Tutorial/HEAD/routes/blogs.js --------------------------------------------------------------------------------