{"id":22537468,"url":"https://github.com/mohammedjawwad/auth-nexus","last_synced_at":"2026-04-06T01:34:24.581Z","repository":{"id":266866491,"uuid":"899597711","full_name":"MohammedJawwad/Auth-Nexus","owner":"MohammedJawwad","description":"Auth-Nexus is a secure, full-featured MERN authentication system using OTP verification, JWT for authentication, email verification, password reset, and protected routes. Built with Mailtrap, bcrypt, and CORS, it offers a modern solution for user authentication. 🚀","archived":false,"fork":false,"pushed_at":"2024-12-09T09:19:57.000Z","size":1425,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T06:41:40.603Z","etag":null,"topics":["authentication","authorization","axios","bcryptjs","expressjs","framer-motion","jwt","jwt-token","mailtrap","mongodb-atlas","mongoose","nodejs","otp-verification","react-router","reactjs","vite","zustand"],"latest_commit_sha":null,"homepage":"https://auth-nexus.onrender.com","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/MohammedJawwad.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-12-06T15:44:33.000Z","updated_at":"2024-12-09T09:20:00.000Z","dependencies_parsed_at":"2024-12-06T16:52:03.311Z","dependency_job_id":null,"html_url":"https://github.com/MohammedJawwad/Auth-Nexus","commit_stats":null,"previous_names":["mohammedjawwad/auth-nexus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MohammedJawwad/Auth-Nexus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedJawwad%2FAuth-Nexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedJawwad%2FAuth-Nexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedJawwad%2FAuth-Nexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedJawwad%2FAuth-Nexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MohammedJawwad","download_url":"https://codeload.github.com/MohammedJawwad/Auth-Nexus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedJawwad%2FAuth-Nexus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259500231,"owners_count":22867338,"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","authorization","axios","bcryptjs","expressjs","framer-motion","jwt","jwt-token","mailtrap","mongodb-atlas","mongoose","nodejs","otp-verification","react-router","reactjs","vite","zustand"],"created_at":"2024-12-07T11:06:57.997Z","updated_at":"2025-12-30T19:57:55.888Z","avatar_url":"https://github.com/MohammedJawwad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌐 Auth-Nexus 🔐  \r\n**The Ultimate Authentication Solution**  \r\n\r\n**Auth-Nexus** is a modern MERN stack authentication system designed with security, efficiency, and user experience in mind. From OTP-based verification to JWT-secured sessions, it has everything to ensure seamless authentication.  \r\n\r\n🚀 **[Live Demo](https://auth-nexus.onrender.com)**  \r\n\r\n---\r\n\r\n## ✨ Key Highlights  \r\n\r\n### 🔒 Authentication  \r\n- 📧 **Signup with OTP Verification:** Ensuring secure onboarding.  \r\n- 🔑 **JWT-based Login:** Access your account securely.  \r\n- 🚪 **Logout:** Easy and secure session termination.  \r\n\r\n### 📤 Email Features  \r\n- ✅ **Account Verification Emails:** Verify with just a click.  \r\n- 📬 **Welcome Email Template:** Personal touch after verification.  \r\n- 🔄 **Password Reset Link:** Forgot your password? We've got you covered.  \r\n\r\n### 🔐 Security Features  \r\n- 🛡️ **Password Encryption:** Using `bcrypt` for top-notch security.  \r\n- 🔑 **Token Management:** Powered by `crypto` and `jsonwebtoken`.  \r\n- 🌍 **CORS-Enabled API:** Secure cross-origin data exchange.  \r\n\r\n### 💻 Frontend Features  \r\n- 📄 **Responsive Pages:** Signup, Login, OTP Verification, Email Verification, and Forgot Password.  \r\n- 🛠️ **Protected Dashboard:** Accessible only to authenticated users.  \r\n- ⚡ **Seamless Integration:** Smooth backend communication.  \r\n\r\n---\r\n\r\n## 🖼️ Screenshots  \r\n\r\n### 🔑 Signup Page  \r\n![Signup Page](signup.png)  \r\n\r\n### 📧 OTP Verification Page  \r\n![OTP Email](otppage.png)\r\n\r\n### 📧 OTP from Email  \r\n![OTP Email](otpmail.png)  \r\n\r\n### 🔓 Login Page  \r\n![Login Page](login.png)  \r\n\r\n### 🎉 Welcome Success Email  \r\n![Welcome Email](welcomemail.png)  \r\n\r\n### 👩‍💻 Dashboard  \r\n![Dashboard](dashboard.png)  \r\n\r\n---\r\n\r\n\r\n## 🛠️ Tech Stack  \r\n\r\n- **Frontend:** React, TailwindCSS  \r\n- **Backend:** Node.js, Express.js  \r\n- **Database:** MongoDB  \r\n- **Email Service:** Mailtrap  \r\n- **Packages:** `bcrypt`, `cors`, `crypto`, `jsonwebtoken`  \r\n\r\n---\r\n\r\n## 🚀 Getting Started  \r\n\r\n### 1. Clone the Repository  \r\n```bash\r\ngit clone https://github.com/MohammedJawwad/Auth-Nexus.git\r\ncd auth-nexus\r\n```\r\n### 2. Install Dependencies\r\nBackend:\r\n```bash\r\ncd backend\r\nnpm install\r\n```\r\nFrontend:\r\n```bash\r\ncd ../frontend\r\nnpm install\r\n```\r\n### 3. Set Up Environment Variables\r\nCreate a .env file in the backend directory with the following:\r\n```bash\r\nMONGO_URI=\u003cYour MongoDB connection string\u003e  \r\nJWT_SECRET=\u003cYour JWT secret\u003e  \r\nMAILTRAP_USER=\u003cYour Mailtrap user\u003e  \r\nMAILTRAP_PASS=\u003cYour Mailtrap password\u003e  \r\n```\r\n### 4. Run the Application\r\nStart the Backend:\r\n```bash\r\ncd backend\r\nnpm start\r\n```\r\nStart the Frontend:\r\n```bash\r\ncd ../frontend\r\nnpm start\r\n```\r\n### 5. Open the app in your browser: http://localhost:3000\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammedjawwad%2Fauth-nexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammedjawwad%2Fauth-nexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammedjawwad%2Fauth-nexus/lists"}