{"id":15849723,"url":"https://github.com/rasif-sahl/express-react-authentication","last_synced_at":"2026-04-09T01:31:04.594Z","repository":{"id":192623501,"uuid":"687064631","full_name":"rasif-sahl/express-react-authentication","owner":"rasif-sahl","description":"This repository showcases a user authentication system that's built for web applications. It combines the power of Express.js for the server-side (backend) and React.js for the user interface (frontend). In simple terms, it helps ensure that only the right users can access certain parts of your website or app.","archived":false,"fork":false,"pushed_at":"2023-09-08T00:53:06.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T16:21:35.706Z","etag":null,"topics":["actions","backend-api","common-api-function","common-functions","expressjs","front-end","jwt-auth","jwt-authentication","jwt-token","passportjs","reactjs","reducer","reducx"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rasif-sahl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-09-04T14:26:46.000Z","updated_at":"2023-09-07T16:50:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"690d761e-9583-44c5-ba0a-1c7966af8e6c","html_url":"https://github.com/rasif-sahl/express-react-authentication","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"f9f6b1280e3588a5f575094286714c6b7210e3e8"},"previous_names":["rasif-sahl/express-react-authentication"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rasif-sahl/express-react-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasif-sahl%2Fexpress-react-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasif-sahl%2Fexpress-react-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasif-sahl%2Fexpress-react-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasif-sahl%2Fexpress-react-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasif-sahl","download_url":"https://codeload.github.com/rasif-sahl/express-react-authentication/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasif-sahl%2Fexpress-react-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["actions","backend-api","common-api-function","common-functions","expressjs","front-end","jwt-auth","jwt-authentication","jwt-token","passportjs","reactjs","reducer","reducx"],"created_at":"2024-10-05T19:00:33.359Z","updated_at":"2026-04-09T01:31:04.570Z","avatar_url":"https://github.com/rasif-sahl.png","language":"JavaScript","readme":"# User Authentication with Express.js and React.js\n\nThis repository demonstrates a comprehensive user authentication system implemented using Express.js for the backend and React.js for the frontend. It provides a solid foundation for securing web applications and includes the following features:\n\n* `User Registration:` Allow users to create accounts with secure password storage.\n\n* `User Login:` Enable secure login for registered users with token-based authentication.\n\n* `Token Management:` Manage user sessions and secure API access with JWT (JSON Web Tokens).\n\n* `Password Hashing:` Safely store user passwords using bcrypt for hashing.\n\n* `Middleware:` Implement middleware for route protection and authentication checks.\n\n* `Protected Routes:` Control access to certain routes and components based on user authentication status.\n\n* `API Integration:` Illustrate how to connect the React frontend to the Express.js backend using Axios.\n\nThis repository serves as a valuable resource for developers looking to implement user authentication in their Express.js and React.js applications. It offers clear code examples and best practices for building secure and user-friendly web experiences.\n\nFeel free to explore, learn, and adapt this authentication system to your specific project needs.\n\n## Back End\n\n[Back-End](express-backend/BACKEND.md)\n\n* Node version `v19.1.0`\n* Npm version `9.6.7`\n* If you need all the authentication in the same file `\"main\": \"index.js\",` to `server.js`\n\n#### Set-up\n\n* cd react-backend\n* npm install\n* node index.js\n* port - `http://localhost:4000`\n\n## Front End\n\n[Front-End](react-frontend/FRONTEND.md)\n\n* Node version `v19.1.0`\n* Npm version `9.6.7`\n\n#### Set-up\n\n* cd react-frontend\n* npm install\n* npm start","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasif-sahl%2Fexpress-react-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasif-sahl%2Fexpress-react-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasif-sahl%2Fexpress-react-authentication/lists"}