{"id":23934153,"url":"https://github.com/Chinwike1/redux-user-auth","last_synced_at":"2025-09-11T17:31:15.100Z","repository":{"id":46139863,"uuid":"498494459","full_name":"Chinwike1/redux-user-auth","owner":"Chinwike1","description":"User Authentication workflow made with the MERN stack","archived":false,"fork":false,"pushed_at":"2023-06-27T17:00:56.000Z","size":443,"stargazers_count":54,"open_issues_count":1,"forks_count":34,"subscribers_count":5,"default_branch":"main","last_synced_at":"2023-07-10T09:45:30.706Z","etag":null,"topics":["authentication","nodejs","react","redux-toolkit"],"latest_commit_sha":null,"homepage":"https://redux-user-auth.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chinwike1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-31T20:52:50.000Z","updated_at":"2023-07-10T08:55:44.000Z","dependencies_parsed_at":"2023-01-26T13:00:19.557Z","dependency_job_id":null,"html_url":"https://github.com/Chinwike1/redux-user-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinwike1%2Fredux-user-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinwike1%2Fredux-user-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinwike1%2Fredux-user-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinwike1%2Fredux-user-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chinwike1","download_url":"https://codeload.github.com/Chinwike1/redux-user-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232658751,"owners_count":18556995,"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","nodejs","react","redux-toolkit"],"created_at":"2025-01-06T00:30:19.451Z","updated_at":"2025-01-06T00:35:17.522Z","avatar_url":"https://github.com/Chinwike1.png","language":"JavaScript","funding_links":[],"categories":["Building"],"sub_categories":["Workflows"],"readme":"# User Authentication with Redux Toolkit\n\nAuthentication workflow built with the MERN stack \u0026 Redux Toolkit. [Project demo here](https://redux-user-auth.netlify.app/)\n\n![Redux Toolkit authentication demo](https://blog.logrocket.com/wp-content/uploads/2022/06/introduction-app-demo.gif)\n\n## Features\n\n- User Authentication — Login \u0026 Register\n- Protected routes with React Router v6\n- JWT storage with localStorage\n- Automatically fetches user details on page load — Header.js\n- Redux Toolkit's \u0026 RTK Query\n\n## Usage\n\n### Starter files\n\nIf you're following along with the [blog post](https://blog.logrocket.com/handling-user-authentication-redux-toolkit), clone the `starter-files` branch with the following command:\n\n```bash\ngit clone --branch starter-files --single-branch https://github.com/Chinwike1/redux-user-auth.git\n```\n\n### ES Modules in Node\n\nECMAScript is used on the backend instead of CommonJS. This requires you to add the `.js` extension when importing a file — not package.\n\n## MongoDB Setup\n\nFollow this guide on \"[Getting started with MongoDB Atlas](https://www.mongodb.com/docs/atlas/getting-started/)\" to setup your database.\n\n## Environment Variables\n\nEnvironment variables are shown in `.env.example` files.\n\n## Install Dependencies\n\nRun this command to install dependencies in both the backend \u0026 frontend folders:\n\n```\n  npm install \u0026\u0026 cd frontend \u0026\u0026 npm install\n```\n\n## Start development server\n\n```bash\n  # Run frontend (:5173) \u0026 backend (:5000)\n  npm run dev\n\n  # Run backend only\n  npm run server\n\n  # Run frontend only\n  npm run client\n```\n\n## Roadmap\n\n- Update the authentication mechanism to use Cookies instead of WebStorage(Local or Session)\n\n## License\n\nGPL-3.0 — Open source license. Software can be used, copied, modified, e.t.c, free of charge.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChinwike1%2Fredux-user-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChinwike1%2Fredux-user-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChinwike1%2Fredux-user-auth/lists"}