├── .gitattributes ├── .gitignore ├── README.md ├── config ├── googleData.js └── monkoKEY.js ├── controller ├── accountRoutes.js ├── googleAuth.js ├── passportLocal.js ├── routes.js └── sendMail.js ├── index.js ├── model ├── resetTokens.js └── user.js ├── package.json ├── screenshots ├── alert_with_working_email_send.png ├── change_password_option.png ├── error_flash_on_accessing_unauthenticated_routes.png └── reset_password_added.png └── views ├── bare_templates ├── login.html └── register.html ├── forgot-password.ejs ├── index.ejs ├── login.ejs ├── partials └── footer.ejs ├── profile.ejs ├── signup.ejs ├── success.ejs └── template ├── index.html ├── login.html ├── profile.html └── signup.html /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/README.md -------------------------------------------------------------------------------- /config/googleData.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/config/googleData.js -------------------------------------------------------------------------------- /config/monkoKEY.js: -------------------------------------------------------------------------------- 1 | module.exports = ""; -------------------------------------------------------------------------------- /controller/accountRoutes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/controller/accountRoutes.js -------------------------------------------------------------------------------- /controller/googleAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/controller/googleAuth.js -------------------------------------------------------------------------------- /controller/passportLocal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/controller/passportLocal.js -------------------------------------------------------------------------------- /controller/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/controller/routes.js -------------------------------------------------------------------------------- /controller/sendMail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/controller/sendMail.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/index.js -------------------------------------------------------------------------------- /model/resetTokens.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/model/resetTokens.js -------------------------------------------------------------------------------- /model/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/model/user.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/package.json -------------------------------------------------------------------------------- /screenshots/alert_with_working_email_send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/screenshots/alert_with_working_email_send.png -------------------------------------------------------------------------------- /screenshots/change_password_option.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/screenshots/change_password_option.png -------------------------------------------------------------------------------- /screenshots/error_flash_on_accessing_unauthenticated_routes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/screenshots/error_flash_on_accessing_unauthenticated_routes.png -------------------------------------------------------------------------------- /screenshots/reset_password_added.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/screenshots/reset_password_added.png -------------------------------------------------------------------------------- /views/bare_templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/bare_templates/login.html -------------------------------------------------------------------------------- /views/bare_templates/register.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/bare_templates/register.html -------------------------------------------------------------------------------- /views/forgot-password.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/forgot-password.ejs -------------------------------------------------------------------------------- /views/index.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/index.ejs -------------------------------------------------------------------------------- /views/login.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/login.ejs -------------------------------------------------------------------------------- /views/partials/footer.ejs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/profile.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/profile.ejs -------------------------------------------------------------------------------- /views/signup.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/signup.ejs -------------------------------------------------------------------------------- /views/success.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/success.ejs -------------------------------------------------------------------------------- /views/template/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/template/index.html -------------------------------------------------------------------------------- /views/template/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/template/login.html -------------------------------------------------------------------------------- /views/template/profile.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/template/profile.html -------------------------------------------------------------------------------- /views/template/signup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/desi-programmer/nodejs_authentication/HEAD/views/template/signup.html --------------------------------------------------------------------------------