{"id":28761560,"url":"https://github.com/sanjitgh/authorization-client-side","last_synced_at":"2026-06-08T16:04:45.846Z","repository":{"id":296761570,"uuid":"994397181","full_name":"sanjitgh/authorization-client-side","owner":"sanjitgh","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-03T17:37:32.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-19T20:47:57.385Z","etag":null,"topics":["authentication","jwt-token","mern-stack"],"latest_commit_sha":null,"homepage":"https://shop-auth-840db.web.app","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/sanjitgh.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,"zenodo":null}},"created_at":"2025-06-01T21:05:35.000Z","updated_at":"2025-06-03T17:37:33.000Z","dependencies_parsed_at":"2025-06-02T07:23:02.521Z","dependency_job_id":"1ca05683-6284-40ee-81d6-477c45fc57d0","html_url":"https://github.com/sanjitgh/authorization-client-side","commit_stats":null,"previous_names":["sanjitgh/authorization-client-side"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanjitgh/authorization-client-side","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjitgh%2Fauthorization-client-side","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjitgh%2Fauthorization-client-side/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjitgh%2Fauthorization-client-side/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjitgh%2Fauthorization-client-side/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanjitgh","download_url":"https://codeload.github.com/sanjitgh/authorization-client-side/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjitgh%2Fauthorization-client-side/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34069500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","jwt-token","mern-stack"],"created_at":"2025-06-17T07:06:48.338Z","updated_at":"2026-06-08T16:04:45.829Z","avatar_url":"https://github.com/sanjitgh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth\n\nAuth is a full-stack authentication application built with React, Express, and MongoDB. It provides secure user registration, login, and session handling using HTTP-only cookies. The app supports dynamic subdomains like `\u003cshopname\u003e.localhost`, with seamless cross-subdomain authentication.\n\n## 🌐 Live Demo\n\n\u003e https://shop-auth-840db.web.app\n\n---\n\n## 🚀 Features\n\n- 🧑‍💼 **User Authentication**\n  - Register and login functionality\n  - Session token stored in HTTP-only cookies\n  - Cross-subdomain\n\n---\n\n## 🛠️ Tech Stack\n\n- **Frontend**: React (Vite), Tailwind CSS\n- **Backend**: Express.js, MongoDB (native driver)\n- **Authentication**: Custom JWT-based system with HTTP-only cookies\n- **Hosting**: Firebase for front-end \u0026 API for vercel\n\n---\n\n## 🧑‍💻 Installation Guide\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/sanjitgh/authorization-client-side.git\ncd authorization-client-side\n```\n\n- **Note**: If you run it localhost, You need to change some configaration, inside the router.jsx file cheange !isSubdomain function, just skip ! (not) sign.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjitgh%2Fauthorization-client-side","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjitgh%2Fauthorization-client-side","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjitgh%2Fauthorization-client-side/lists"}