{"id":20109001,"url":"https://github.com/mshandev/jwt-authentication-mern","last_synced_at":"2026-04-02T04:46:33.453Z","repository":{"id":250722406,"uuid":"835276430","full_name":"Mshandev/JWT-Authentication-MERN","owner":"Mshandev","description":"This project demonstrates secure user authentication in a MERN stack application, leveraging JSON Web Tokens (JWT) and Bcrypt for effective password hashing and session management. It provides a comprehensive solution for implementing authentication and authorization in web applications.","archived":false,"fork":false,"pushed_at":"2024-08-30T12:50:51.000Z","size":381,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T05:29:22.221Z","etag":null,"topics":["authentication","bcrypt-nodejs","expressjs","jwt-authentication","jwt-token","login","mern-project","mern-stack","mongoose","nodejs","react","signup"],"latest_commit_sha":null,"homepage":"https://jwt-authentication-mern.vercel.app","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/Mshandev.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-07-29T14:02:41.000Z","updated_at":"2024-09-26T08:06:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b7a8222-d1d9-427b-89f4-cea677ed66bd","html_url":"https://github.com/Mshandev/JWT-Authentication-MERN","commit_stats":null,"previous_names":["mshandev/jwt-authentication-mern"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mshandev%2FJWT-Authentication-MERN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mshandev%2FJWT-Authentication-MERN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mshandev%2FJWT-Authentication-MERN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mshandev%2FJWT-Authentication-MERN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mshandev","download_url":"https://codeload.github.com/Mshandev/JWT-Authentication-MERN/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549400,"owners_count":19980527,"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":["authentication","bcrypt-nodejs","expressjs","jwt-authentication","jwt-token","login","mern-project","mern-stack","mongoose","nodejs","react","signup"],"created_at":"2024-11-13T18:06:51.646Z","updated_at":"2025-12-30T20:04:53.152Z","avatar_url":"https://github.com/Mshandev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Authentication with JWT\n\nThis repository hosts the source code for the MERN Authentication project, a robust authentication system built using the MERN Stack. It features secure user authentication and password management with JWT and Bcrypt.\n\n## Demo\n\n[https://jwt-authentication-mern.vercel.app/](https://jwt-authentication-mern.vercel.app/)\n\n## Features\n\n- Login \u0026 Signup Pages: Secure user authentication with email and password.\n- Home Page: A user-friendly home page accessible after login.\n- Password Hashing: Secure password storage using Bcrypt.\n- JWT Authentication: User authentication with JSON Web Tokens (JWT), stored in local storage to keep users logged in.\n- Logout: Option to log out and invalidate the session.\n\n## Screenshots\n\n![Signup](https://i.ibb.co/qjffkkJ/authentication-signup.png)\n\n![Login](https://i.ibb.co/tsLdgY8/authentication-login.png)\n\n![Main](https://i.ibb.co/qm7WVyw/authentication-main.png)\n\n\n## Run Locally\n\nClone the project\n\n```bash\n    git clone https://github.com/Mshandev/MERN-Authentication-JWT\n```\nGo to the project directory\n\n```bash\n    cd MERN-Authentication-JWT\n```\nInstall dependencies\n\n```bash\n    npm install\n```\nSetup Environment Vaiables\n\n```Make .env file and store environment Variables\n  SALT=10\n  JWTPRIVATEKEY=PRIVATE_KEY\n  DB=YOUR-DB-URL\n ``` \nStart the server\n\n```bash\n    npm start\n```\n## Tech Stack\n* [React](https://reactjs.org/)\n* [Node.js](https://nodejs.org/en)\n* [Express.js](https://expressjs.com/)\n* [Mongodb](https://www.mongodb.com/)\n\n## Deployment\n\nThe application is deployed on Vercel.\n\n## Contributing\n\nContributions are always welcome!\nJust raise an issue, and we will discuss it.\n\n## Feedback\n\nIf you have any feedback, please reach out to me [here](https://www.linkedin.com/in/muhammad-shan-full-stack-developer/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmshandev%2Fjwt-authentication-mern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmshandev%2Fjwt-authentication-mern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmshandev%2Fjwt-authentication-mern/lists"}