{"id":21461926,"url":"https://github.com/mahanteshkumbar/nodejs-ejs-role-jwtoken-auth-sequilizemigration-express-framework","last_synced_at":"2025-10-05T14:58:52.923Z","repository":{"id":91565872,"uuid":"493286723","full_name":"Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework","owner":"Mahanteshkumbar","description":"role based authentication node.js and express.js sequelize migration","archived":false,"fork":false,"pushed_at":"2022-05-24T05:13:54.000Z","size":6976,"stargazers_count":6,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T09:04:09.716Z","etag":null,"topics":["admin-dashboard","authentication","csrf-protection","express","express-validation","expressjs","jwt","jwt-authentication","material-bootstrap","migration","mysql","node-admin-dashboard","node-role-based-login","nodejs","role","role-based-authorization","sequelize","sequelize-cli","sequelize-orm"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mahanteshkumbar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-17T14:29:02.000Z","updated_at":"2024-06-06T21:04:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"8caa65f7-d7c6-44d2-9fd1-7515798da98c","html_url":"https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahanteshkumbar%2FNodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahanteshkumbar%2FNodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahanteshkumbar%2FNodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahanteshkumbar%2FNodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mahanteshkumbar","download_url":"https://codeload.github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mahanteshkumbar%2FNodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278470181,"owners_count":25992203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-dashboard","authentication","csrf-protection","express","express-validation","expressjs","jwt","jwt-authentication","material-bootstrap","migration","mysql","node-admin-dashboard","node-role-based-login","nodejs","role","role-based-authorization","sequelize","sequelize-cli","sequelize-orm"],"created_at":"2024-11-23T07:11:57.253Z","updated_at":"2025-10-05T14:58:52.906Z","avatar_url":"https://github.com/Mahanteshkumbar.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework materail bootstrap Role Based authentication CSRF protection\n\nThis is a Node.js v17.6.0 with framewokr Express.js admin panel starter project with Token based authentication and session management, Server Side Error handling, form field validations. Used Sequilize \n\nUsed Sequelize is a promise-based Node.js ORM tool for MySQL Server, You can use migrations to keep track of changes to the database. With migrations you can transfer your existing database into another state and vice versa.\n\nGenrate models, seeds, migration files with npx sequelize-cli model:generate --name UserHasRole --attributes userId:integer for more information visit sequilize official documentatiom for Sequelize migration section.\n\n# Installation\nIt is a full Node.js and Express.js and Sequilize Migrations project that you should use as a starter project and implement your own functions.\n\n* Clone the repository with git clone\n* modify the config/config.json file for mysql server configuration(username and password)\n* Run npm install\n* Run npx sequelize-cli db:migrate:all\n* Run npx sequelize-cli db:seed:all\n* Run npm start\n* That's it: launch the main URL and login with default credentials for admin admin@admin.com - 123456, for user user@user.com - 123456\n\n# Home Page\n![picture alt](https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/blob/main/snapshots/homepage.png)\n\n# Login Page with validation\n![picture alt](https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/blob/main/snapshots/servervalidation.png)\n\n# Signup Page with validation\n![picture alt](https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/blob/main/snapshots/register.png)\n\n# Admin Dashboard\n![picture alt](https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/blob/main/snapshots/dashboard.png)\n\n# Admin Dashboard Roles\n![picture alt](https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/blob/main/snapshots/dashboard1.png)\n\n# Admin Dashboard Users\n![picture alt](https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/blob/main/snapshots/dashboard2.png)\n\n# User Dashboard\n![picture alt](https://github.com/Mahanteshkumbar/Nodejs-EJS-Role-JWToken-Auth-SequilizeMigration-Express-Framework/blob/main/snapshots/userdashboard.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahanteshkumbar%2Fnodejs-ejs-role-jwtoken-auth-sequilizemigration-express-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahanteshkumbar%2Fnodejs-ejs-role-jwtoken-auth-sequilizemigration-express-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahanteshkumbar%2Fnodejs-ejs-role-jwtoken-auth-sequilizemigration-express-framework/lists"}