{"id":26714739,"url":"https://github.com/abh1xxx/authbridge","last_synced_at":"2026-04-12T06:32:58.448Z","repository":{"id":284746335,"uuid":"955925495","full_name":"Abh1xxx/AuthBridge","owner":"Abh1xxx","description":"\"Full-Stack Login System using React, Node.js, and MongoDB\" A full-stack authentication application where users can register, log in, and access a dashboard. Built using React for the frontend, Node.js and Express for the backend, and MongoDB for data storage.","archived":false,"fork":false,"pushed_at":"2025-03-27T12:34:15.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T13:33:14.331Z","etag":null,"topics":["authentication","axios-react","expressjs","full-stack","mern-stack-project","mongodb","nodejs","react"],"latest_commit_sha":null,"homepage":"","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/Abh1xxx.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":"2025-03-27T12:21:32.000Z","updated_at":"2025-03-27T12:36:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec91b107-f752-4708-a6ee-d09b4d77d2a0","html_url":"https://github.com/Abh1xxx/AuthBridge","commit_stats":null,"previous_names":["abh1xxx/authbridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abh1xxx%2FAuthBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abh1xxx%2FAuthBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abh1xxx%2FAuthBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abh1xxx%2FAuthBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abh1xxx","download_url":"https://codeload.github.com/Abh1xxx/AuthBridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245857875,"owners_count":20683991,"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","axios-react","expressjs","full-stack","mern-stack-project","mongodb","nodejs","react"],"created_at":"2025-03-27T13:42:31.379Z","updated_at":"2026-04-12T06:32:53.406Z","avatar_url":"https://github.com/Abh1xxx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AuthBridge\r\n\r\n\r\nAuthNexus is a full-stack authentication application built using React, Node.js, Express, and MongoDB. This project allows users to register, log in, and access a personalized dashboard.\r\n\r\n## Features\r\n\r\n- **User Registration**: Users can create an account by providing their name, email, and password.\r\n- **User Login**: Users can authenticate using their credentials.\r\n- **Dashboard**: Displays a personalized welcome message upon successful login.\r\n- **Secure Authentication**: Implements password hashing and JWT-based authentication.\r\n- **Responsive Design**: Ensures usability across various devices using React Bootstrap.\r\n\r\n## Technologies Used\r\n\r\n### Frontend\r\n- React\r\n- React Router\r\n- Axios\r\n- React Bootstrap\r\n\r\n### Backend\r\n- Node.js\r\n- Express.js\r\n- MongoDB (Mongoose for schema modeling)\r\n\r\n## Installation\r\n\r\n### Prerequisites\r\nEnsure you have the following installed:\r\n\r\n- Node.js (v18 or later)\r\n- MongoDB (local or cloud instance)\r\n\r\n### Clone the Repository\r\n\r\n```bash\r\ngit clone https://github.com/your-username/AuthNexus.git\r\ncd AuthNexus\r\n```\r\n\r\n### Backend Setup\r\n\r\n1. Navigate to the backend folder (or root if combined).\r\n2. Install dependencies:\r\n\r\n```bash\r\nnpm install\r\n```\r\n\r\n3. Create a `.env` file in the root directory and add:\r\n\r\n```\r\nMONGODB_URL=mongodb://localhost:27017/AuthNexus\r\nJWT_SECRET=your_jwt_secret\r\nPORT=5000\r\n```\r\n\r\n4. Start the backend server:\r\n\r\n```bash\r\nnpm start\r\n```\r\n\r\n### Frontend Setup\r\n\r\n1. Navigate to the frontend folder.\r\n2. Install dependencies:\r\n\r\n```bash\r\nnpm install\r\n```\r\n\r\n3. Create a `.env` file in the frontend directory and add:\r\n\r\n```\r\nVITE_BASEURL=http://localhost:5000\r\n```\r\n\r\n4. Start the React development server:\r\n\r\n```bash\r\nnpm run dev\r\n```\r\n\r\n## Usage\r\n\r\n1. Open your browser and go to `http://localhost:5173` (or the port shown in the console).\r\n2. Register a new user via `/register`.\r\n3. Log in using your credentials via `/login`.\r\n4. Access the personalized dashboard.\r\n\r\n## Project Structure\r\n\r\n```\r\nAuthNexus/\r\n├── backend/\r\n│   ├── models/\r\n│   │   └── User.js\r\n│   ├── routes/\r\n│   │   └── auth.js\r\n│   └── index.js\r\n├── frontend/\r\n│   ├── src/\r\n│   │   ├── pages/\r\n│   │   │   ├── Login.jsx\r\n│   │   │   ├── Signup.jsx\r\n│   │   │   └── Dashboard.jsx\r\n│   │   ├── components/\r\n│   │   ├── routes/\r\n│   │   │   └── router.jsx\r\n│   │   └── App.jsx\r\n└── README.md\r\n```\r\n\r\n## API Endpoints\r\n\r\n### POST /register\r\nRegisters a new user.\r\n\r\nRequest Body:\r\n```json\r\n{\r\n  \"name\": \"John Doe\",\r\n  \"email\": \"john@example.com\",\r\n  \"password\": \"password123\"\r\n}\r\n```\r\n\r\n### POST /login\r\nAuthenticates a user.\r\n\r\nRequest Body:\r\n```json\r\n{\r\n  \"email\": \"john@example.com\",\r\n  \"password\": \"password123\"\r\n}\r\n```\r\n\r\nResponse:\r\n```json\r\n{\r\n  \"token\": \"your-jwt-token\"\r\n}\r\n```\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Feel free to fork the repository and open a pull request.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License.\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabh1xxx%2Fauthbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabh1xxx%2Fauthbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabh1xxx%2Fauthbridge/lists"}