{"id":29350756,"url":"https://github.com/roshan-metrix/mongodb-auth-system","last_synced_at":"2026-04-09T12:36:53.829Z","repository":{"id":303448247,"uuid":"1015514301","full_name":"Roshan-Metrix/mongodb-auth-system","owner":"Roshan-Metrix","description":"Authentication and Authorization based project","archived":false,"fork":false,"pushed_at":"2025-07-07T16:54:45.000Z","size":420,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T18:08:19.323Z","etag":null,"topics":["authentication","authorization","bcrypt","ejs","expressjs","jwt","mongodb","multer","nodejs","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Roshan-Metrix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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,"zenodo":null}},"created_at":"2025-07-07T16:04:44.000Z","updated_at":"2025-07-07T16:54:48.000Z","dependencies_parsed_at":"2025-07-07T18:08:21.043Z","dependency_job_id":"38471e93-8cf0-4c9e-956e-a901e343981d","html_url":"https://github.com/Roshan-Metrix/mongodb-auth-system","commit_stats":null,"previous_names":["roshan-metrix/mongodb-auth-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Roshan-Metrix/mongodb-auth-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-Metrix%2Fmongodb-auth-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-Metrix%2Fmongodb-auth-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-Metrix%2Fmongodb-auth-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-Metrix%2Fmongodb-auth-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Roshan-Metrix","download_url":"https://codeload.github.com/Roshan-Metrix/mongodb-auth-system/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-Metrix%2Fmongodb-auth-system/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264363944,"owners_count":23596532,"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","bcrypt","ejs","expressjs","jwt","mongodb","multer","nodejs","tailwindcss"],"created_at":"2025-07-08T23:19:08.118Z","updated_at":"2025-12-30T22:13:36.457Z","avatar_url":"https://github.com/Roshan-Metrix.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB Auth System\n\nA robust authentication system featuring login, signup, profile management, and file uploads. Built with MongoDB, JWT, bcrypt, multer, and a modern well frontend.\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Project Structure](#project-structure)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Screenshots](#screenshots)\n- [License](#license)\n\n## Features\n\n- User registration and login with JWT authentication\n- Secure password hashing with bcrypt\n- Profile management (view and update user info)\n- Avatar/image upload using multer\n- Protected routes and session management\n- Responsive frontend with Tailwind CSS\n\n## Technologies Used\n\n- **Backend:** Node.js, Express.js, MongoDB, Mongoose, JWT, bcrypt, multer\n- **Frontend:** EJS, Tailwindcss\n\n## Project Structure\n\n```\nmongodb-auth-system/\n├── config/               # Utils\n│   ├── multerconfig.js/\n├── models/               # Mongodb Database\n│   ├── post.js/\n│   └── user.js/\n├── public/               # Static files\n│   ├── images/\n│       ├── uploads/\n│           ├──default.webp\n├── screenshots/               # Screenshots\n│   ├── createacc.png\n│   ├── login.png\n│   ├── profile.png\n│   ├── profilepic.png\n├── views/               # Engine\n│   ├── edit.ejs\n│   ├── index.ejs\n│   ├── login.ejs\n│   ├── profile.ejs\n│   ├── profileupload.ejs\n├── .gitignore/\n├── app.js/\n├── license.txt/ \n├── package-lock.json/ \n├── package.json/ \n└── README.md\n```\n\n## Installation\n\nFollow these steps to set up the project locally:\n\n1. **Clone the repository:**\n    ```bash\n    git clone https://github.com/Roshan-Metrix/mongodb-auth-system.git\n    ```\n\n2. **Navigate to the project directory:**\n    ```bash\n    cd mongodb-auth-system\n    ```\n\n3. **Install dependencies:**\n    ```bash\n    npm install\n    ```\n\n6. **Start the server:**\n    ```bash\n    node app.js\n    ```\n\n## Usage\n\n- Register a new user via the signup page.\n- Login to receive a JWT token.\n- Access and update your profile.\n- Upload an avatar or profile image.\n- All protected routes require a valid JWT.\n\n## Screenshots\n\n### Signup Page\n\n![Signup Page](screenshots/createacc.png)\n\n### Login Page\n\n![Login Page](screenshots/login.png)\n\n### Profile Page\n\n![Profile Page](screenshots/profile.png)\n\n### Profile Pic Upload\n\n![Profile Pic Upload](screenshots/profilepic.png)\n\n## License\n\nThis project is licensed under the [MIT License](license.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froshan-metrix%2Fmongodb-auth-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froshan-metrix%2Fmongodb-auth-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froshan-metrix%2Fmongodb-auth-system/lists"}