{"id":19071389,"url":"https://github.com/sundaram2021/mern-auth","last_synced_at":"2026-04-10T12:32:07.065Z","repository":{"id":163197213,"uuid":"591897107","full_name":"sundaram2021/mern-auth","owner":"sundaram2021","description":"This repository is about authentication and authorization in Mern Stack using JWT ","archived":false,"fork":false,"pushed_at":"2023-02-10T13:29:37.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T04:15:04.750Z","etag":null,"topics":["expressjs","jwt","jwt-authentication","localstorage","mongodb-database","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sundaram2021.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-01-22T09:07:26.000Z","updated_at":"2023-02-13T18:33:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"df578a64-22b1-4aa6-91f5-9878baa6a866","html_url":"https://github.com/sundaram2021/mern-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sundaram2021/mern-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundaram2021%2Fmern-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundaram2021%2Fmern-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundaram2021%2Fmern-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundaram2021%2Fmern-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sundaram2021","download_url":"https://codeload.github.com/sundaram2021/mern-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundaram2021%2Fmern-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["expressjs","jwt","jwt-authentication","localstorage","mongodb-database","reactjs"],"created_at":"2024-11-09T01:28:08.757Z","updated_at":"2026-04-10T12:32:07.036Z","avatar_url":"https://github.com/sundaram2021.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN STACK AUTHENTICATION USING JSON WEB TOKEN AND PROTECTED HOME ROUTE \n\n\nThis project is used for authentication in mern website using jsonwebtoken(jwt).\n\nThe authentication flow is as follows :\n\nAfter login to the website , a unique token is generated and it is stored in local storage .\n\nand using this token in local storage home route is protected.\n\nI have also added a storage event listener so that while using the website is user clears the local storage anyhow \nthen they has to login again\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundaram2021%2Fmern-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundaram2021%2Fmern-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundaram2021%2Fmern-auth/lists"}