{"id":29290981,"url":"https://github.com/rakib-gazi/9am-solution-client","last_synced_at":"2026-04-30T16:33:15.237Z","repository":{"id":297168793,"uuid":"995848737","full_name":"rakib-gazi/9am-solution-client","owner":"rakib-gazi","description":"A full-stack MERN application that supports user authentication, session management, and dynamic shop-specific dynamic subdomains.","archived":false,"fork":false,"pushed_at":"2025-06-04T06:06:10.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-30T16:33:13.021Z","etag":null,"topics":["axios","flowbite-react","react","react-hook-form","react-spinners","sweetalert2","tailwindcss"],"latest_commit_sha":null,"homepage":"https://shop-hub-auth.netlify.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/rakib-gazi.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-04T05:16:56.000Z","updated_at":"2025-06-04T06:06:12.000Z","dependencies_parsed_at":"2025-06-04T12:13:21.705Z","dependency_job_id":"a4570134-ec34-451a-a18c-2232c9576671","html_url":"https://github.com/rakib-gazi/9am-solution-client","commit_stats":null,"previous_names":["rakib-gazi/9am-solution-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rakib-gazi/9am-solution-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakib-gazi%2F9am-solution-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakib-gazi%2F9am-solution-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakib-gazi%2F9am-solution-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakib-gazi%2F9am-solution-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rakib-gazi","download_url":"https://codeload.github.com/rakib-gazi/9am-solution-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakib-gazi%2F9am-solution-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32470879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["axios","flowbite-react","react","react-hook-form","react-spinners","sweetalert2","tailwindcss"],"created_at":"2025-07-06T07:11:33.509Z","updated_at":"2026-04-30T16:33:15.232Z","avatar_url":"https://github.com/rakib-gazi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 9am Solution – MERN Stack Authentication \u0026 Shop Dashboard\n\nA full-stack MERN application that supports user authentication, session management, and dynamic shop-specific dynamic  subdomains.\n\n##  Repository\n\nFrontend (Vite + React): [https://github.com/rakib-gazi/9am-solution-client](https://github.com/rakib-gazi/9am-solution-client)  \nBackend (Express + MongoDB): [https://github.com/rakib-gazi/9am-solution-server](https://github.com/rakib-gazi/9am-solution-server)  \n---\n## API \n\n**1. Sign up (POST)**  \nhttps://mern-server-nu.vercel.app/users\n\n**2. Sign In (POST)**  \nhttps://mern-server-nu.vercel.app/auth/signin\n\n**3. Verify Token (POST)**  \nhttps://mern-server-nu.vercel.app/auth/verify-token\n\n**4. Sign Out (POST)**  \nhttps://mern-server-nu.vercel.app/auth/signout\n\n---\n## Features\n\n###  1. **Signup Page**\n- Signup form includes:\n  - Username\n  - Password (validated: min 8 characters, at least 1 number and 1 special character)\n  - At least 3 Shop Names (stored as an array)\n- Shop name validation:\n  - Shop names must be **globally unique** across all users.\n- Secure password storage and input validation.\n\n###  2. **Signin Page**\n- Login using username and password.\n- \"Remember Me\" option:\n  - If selected: session lasts **7 days**.\n  - Otherwise: session expires in **30 minutes**.\n- Validation messages for wrong credentials.\n\n### 3. **Dashboard**\n- Simple placeholder dashboard.\n- Profile icon dropdown includes:\n  - Shop names entered at signup.\n  - Logout button with confirmation.\n\n### 4. **Shop-Specific Dashboard with Dynamic Subdomains**\n- Clicking a shop name should open a subdomain : worked but not passed Auth info, but token set after reload.\n\n---\n\n## Setup Instructions\n\n### 1. Clone Repos\n```\ngit clone https://github.com/rakib-gazi/9am-solution-client.git\ncd 9am-solution-client\n```\n### 2. Install Dependencies\n```\nnpm install\n```\n### 2. Run the Client\n```\nnpm run dev\n```\n---\n---\n\n## Tech Stack\n\n| Layer        | Tech                                      |\n|--------------|-------------------------------------------|\n| Frontend     | React 19, Vite                            |\n| Styling      | Tailwind CSS v4, Flowbite                 |\n| Routing      | React Router v7                           |\n| Forms        | React Hook Form                           |\n| API Calls    | Axios                                     |\n| Alerts       | SweetAlert2                               |\n| Animations   | React Spinners                            |\n| Auth         | JWT-based with cookie sessions            |\n\n\n---\n## Live Demo\n[https://shop-hub-auth.netlify.app/]\n\n---\n\nThank You.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakib-gazi%2F9am-solution-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakib-gazi%2F9am-solution-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakib-gazi%2F9am-solution-client/lists"}