{"id":21565285,"url":"https://github.com/sandeepkv93/node-user-auth-starterkit","last_synced_at":"2026-04-14T14:33:31.108Z","repository":{"id":75506730,"uuid":"450674493","full_name":"sandeepkv93/node-user-auth-starterkit","owner":"sandeepkv93","description":"A complete toolkit for developers aiming to swiftly implement a user authentication system using Node.js, React.js, MongoDB, and Mongoose. It offers secure, efficient login solutions, integrates best practices, and demonstrates the synergy of Node.js for robust server-client setups. Perfect for building secure user interfaces with ease. 🚀🔑💻","archived":false,"fork":false,"pushed_at":"2023-01-14T09:12:17.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T05:17:51.208Z","etag":null,"topics":["authentication","authorization","expressjs","jwt-authentication","middlewares","mongodb","nodejs","routing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sandeepkv93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-22T00:02:10.000Z","updated_at":"2024-01-18T18:52:28.000Z","dependencies_parsed_at":"2023-06-06T17:00:31.816Z","dependency_job_id":null,"html_url":"https://github.com/sandeepkv93/node-user-auth-starterkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sandeepkv93/node-user-auth-starterkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepkv93%2Fnode-user-auth-starterkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepkv93%2Fnode-user-auth-starterkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepkv93%2Fnode-user-auth-starterkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepkv93%2Fnode-user-auth-starterkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandeepkv93","download_url":"https://codeload.github.com/sandeepkv93/node-user-auth-starterkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepkv93%2Fnode-user-auth-starterkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31801417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["authentication","authorization","expressjs","jwt-authentication","middlewares","mongodb","nodejs","routing"],"created_at":"2024-11-24T10:19:06.358Z","updated_at":"2026-04-14T14:33:31.088Z","avatar_url":"https://github.com/sandeepkv93.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node User Authentication Starter Kit\n\nThis repository provides a starter kit for building user authentication and authorization features in a Node.js application. It includes a sample login and registration flow, as well as an example of how to protect routes and manage user roles and permissions.\n\n### Features\n- User registration and login\n- Hashing and salting of passwords\n- JWT-based authentication\n- Route protection and user role management\n- Example implementation of user roles and permissions\n\n### Getting Started\n1. Clone the repository\n```shell\ngit clone https://github.com/sandeepkv93/node-user-auth-starterkit.git\n```\n\n2. Install dependencies\n```shell\nnpm install\n```\n\n3. Start the server\n```shell\nnpm start\n```\n\n4. Test the endpoints using a tool like Postman or Insomnia. The following routes are available:\n  - POST /register for user registration\n  - POST /login for user login\n  - GET /protected for a protected route example\n\n### Customization\n1. Update the config.js file with your own JWT secret and database configuration\n2. Add more roles and permissions in the config.js file as per your requirements\n3. Update the User model in models directory with any additional fields you need\n4. Update the auth middleware in middlewares directory as per your requirements\n5. Add more routes and update the existing routes as per your requirements\n\n### Built With\n- Node.js\n- Express.js\n- MongoDB (with Mongoose)\n- jsonwebtoken\n- bcrypt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandeepkv93%2Fnode-user-auth-starterkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandeepkv93%2Fnode-user-auth-starterkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandeepkv93%2Fnode-user-auth-starterkit/lists"}