{"id":21810740,"url":"https://github.com/harshit-paneri/role-based-auth","last_synced_at":"2026-04-18T06:04:08.445Z","repository":{"id":217667708,"uuid":"744416000","full_name":"harshit-paneri/role-based-auth","owner":"harshit-paneri","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-18T11:27:53.000Z","size":634,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T05:25:15.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/harshit-paneri.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":"2024-01-17T08:57:50.000Z","updated_at":"2024-01-17T09:00:24.000Z","dependencies_parsed_at":"2024-01-17T21:03:21.525Z","dependency_job_id":"611846dd-1cc4-49f0-80ac-b17369749a7d","html_url":"https://github.com/harshit-paneri/role-based-auth","commit_stats":null,"previous_names":["harshit-paneri/role-based-auth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshit-paneri%2Frole-based-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshit-paneri%2Frole-based-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshit-paneri%2Frole-based-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshit-paneri%2Frole-based-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshit-paneri","download_url":"https://codeload.github.com/harshit-paneri/role-based-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244767595,"owners_count":20507110,"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","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":[],"created_at":"2024-11-27T13:37:29.825Z","updated_at":"2026-04-18T06:04:08.386Z","avatar_url":"https://github.com/harshit-paneri.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Role Based Access Control \n\n### Install\n\n``` git clone https://github.com/harshit-paneri/role-based-auth.git ```\n\n``` cd role-based-auth ```\n\n``` npm install ```\n\n``` npm start ```\n\n ### All Endpoints\n\n - Register Admin\n  ``/api/users/register-admin``\n\n  ![Alt text](image/register-admin.png)\n\n- Register User\n  ``/api/users/register-user``\n\n  ![Alt text](image/register-user.png)\n\n- Register Super User\n  ``/api/users/register-super-user``\n  ![Alt text](image/register-super-user.png)\n\n- Login User\n  ``/api/users/login-user``\n\n  ![Alt text](image/login-user.png)\n  \n  - Bad Request\n\n  ![Alt text](image/login-user-bad-request.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshit-paneri%2Frole-based-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshit-paneri%2Frole-based-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshit-paneri%2Frole-based-auth/lists"}