{"id":22976287,"url":"https://github.com/devramod/auth","last_synced_at":"2026-04-06T01:33:38.592Z","repository":{"id":165093773,"uuid":"640448836","full_name":"devramod/auth","owner":"devramod","description":"Authentication \u0026 Authorization","archived":false,"fork":false,"pushed_at":"2023-05-14T08:31:29.000Z","size":393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:25:10.344Z","etag":null,"topics":["authentication","authorization","axios","bcryptjs","css3","expressjs","html5","javascript","jwt","material-ui","mongodb","mongoose","nodejs","react-hooks","react-redux","react-router","reactjs","redux","redux-toolkit","vitejs"],"latest_commit_sha":null,"homepage":"https://client-auth.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/devramod.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":"2023-05-14T05:52:07.000Z","updated_at":"2023-05-14T08:08:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"53bf3268-027d-47d9-95f0-ee6f780fa2c9","html_url":"https://github.com/devramod/auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devramod/auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devramod%2Fauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devramod%2Fauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devramod%2Fauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devramod%2Fauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devramod","download_url":"https://codeload.github.com/devramod/auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devramod%2Fauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31456659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","axios","bcryptjs","css3","expressjs","html5","javascript","jwt","material-ui","mongodb","mongoose","nodejs","react-hooks","react-redux","react-router","reactjs","redux","redux-toolkit","vitejs"],"created_at":"2024-12-15T00:49:07.316Z","updated_at":"2026-04-06T01:33:38.578Z","avatar_url":"https://github.com/devramod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Stack User Authentication and Authorization\n\nThis project is a full-stack web application that allows users to sign up, log in, and log out securely.\nThe application uses the MERN stack (MongoDB, Express.js, React, and Node.js) and other technologies such as Vite, Material UI, Redux, Axios, Bcrypt.js, and JWT for user authentication and authorization.\n\n## Table of Contents\n- [Features](#features)\n- [Front-end Technologies](#front-end-technologies)\n- [Back-end Technologies](#back-end-technologies)\n- [Setup](#setup)\n- [Run](#run)\n- [Usage](#usage)\n- [Technologies](#technologies)\n- [Demo](#demo)\n- [Contributing](#contributing)\n\n### Features\n\nThis application has the following features:\n\n- User registration and authentication\n- User login and logout\n- Password hashing and salting with Bcrypt.js\n- Token-based authentication with JWT\n- Redux store for managing user data\n- Material UI components for UI design\n- Vite for faster development and hot module replacement\n\n### Installation\n\n1. Clone the repository: `git clone https://github.com/devramod/auth.git`\n2. Install the dependencies: `npm install`\n\n### Setup\n\n1. Create a .env file in the client directory with the following variables:\n    ```\n     VITE_SERVER_BASE_URL = http://localhost:5000\n    ```\n2. Create a .env file in the server directory with the following variables:\n    ```\n     MONGODB_URL = \"mongodb+srv://ram5sasanga:SglwA2N23HItPHkY@cluster0.0ljjbzu.mongodb.net/?retryWrites=true\u0026w=majority\"\n     SECRET_KEY =  \"e1af984a332b585a5cb085ced157250c174e336578d36b439eaa9b8b1d5bf38558588666d510dabdcbcce8fc42795408792a51d9f7ae7b72ddcaeed142e8af38\"\n     CLIENT_BASE_URL = http://localhost:5173\n    ```\n\n### Run\n\n1. Run the server: `npm start`\n2. Run the client: `npm start`\n\n### Usage\n\n1. Open your web browser and go to http://localhost:3000 to see the application running.\n2. You can register a new user account, log in, and log out. When you log in, a JSON Web Token is created. This token is used to authenticate requests to the server for protected routes.\n\nThis ecommerce application uses the following technologies:\n\n### Front-end Technologies\n\n- React.js: front-end library\n- Redux, React-redux, Redux-toolkit: state managing and centralizing\n- React-router: routing\n- Material ui: ui development\n- Axios: make http requests\n- Vite: fast and optimized development\n\n### Back-end Technologies\n\n- Node.js: back-end runtime\n- Express.js: back-end web framework\n- MongoDB: database management\n- Mongoose: database connection\n- Bcryptjs: password hashing\n- JWT: authorization\n\n### Demo\n\n- This application is deployed on Render.\n- Please visit this link: \u003chttps://client-auth.onrender.com/\u003e\n\n### Contributing\n\nIf you would like to contribute to this ecommerce application, feel free to submit a pull request or raise an issue.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevramod%2Fauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevramod%2Fauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevramod%2Fauth/lists"}