{"id":23113848,"url":"https://github.com/sanyampunia/medusa-auth-starter","last_synced_at":"2026-03-07T06:31:37.120Z","repository":{"id":105971104,"uuid":"554647363","full_name":"SanyamPunia/Medusa-Auth-Starter","owner":"SanyamPunia","description":"✨ Medusa.js Starter Template including complete auth-flow (with user-context) and protected routing.","archived":false,"fork":false,"pushed_at":"2023-04-11T20:27:04.000Z","size":2478,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-04T18:48:52.817Z","etag":null,"topics":["medusajs","nextjs","reacthookform","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/SanyamPunia.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}},"created_at":"2022-10-20T06:39:52.000Z","updated_at":"2025-04-04T04:59:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4e1469c-070d-4537-b9f0-2d0cff778875","html_url":"https://github.com/SanyamPunia/Medusa-Auth-Starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SanyamPunia/Medusa-Auth-Starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FMedusa-Auth-Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FMedusa-Auth-Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FMedusa-Auth-Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FMedusa-Auth-Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SanyamPunia","download_url":"https://codeload.github.com/SanyamPunia/Medusa-Auth-Starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanyamPunia%2FMedusa-Auth-Starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"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":["medusajs","nextjs","reacthookform","tailwindcss"],"created_at":"2024-12-17T03:15:10.254Z","updated_at":"2026-03-07T06:31:37.094Z","avatar_url":"https://github.com/SanyamPunia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003e🏬 Medusa Auth Starter\u003c/h2\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=medusa\u0026message=js\u0026color=blueviolet\u0026style=for-the-badge\" alt=\"medusa-badge\"/\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=Version\u0026message=1.5.0\u0026color=success\u0026style=for-the-badge\" alt=\"v1.5.0\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=PRs\u0026message=welcome\u0026color=success\u0026style=for-the-badge\" alt=\"prs-welcome\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=Starter\u0026message=Template\u0026color=success\u0026style=for-the-badge\" alt=\"starter-template\"\u003e\n    \u003cp style=\"font-weight: bold\"\u003e A Starter Template which includes complete Medusa Authflow i.e Registration, User Login \u0026 Logout\u003c/p\u003e\n\u003c/div\u003e\n\n## 🍀 Key Features\n1. This starter template provides authentication workflow out of the box, so you don't have to re-invest your time building it from scratch.\n2. Maintable folder structure and following Medusa's similar code practices.\n3. Currently supporting version [`v.1.5.0`](https://github.com/medusajs/medusa/releases/tag/v1.5.0)\n4. Tailwind CSS integration with Next.js for styling.\n\n\u003c!-- ## 👨‍🌾 Contributors\n* [Sanyam Punia](https://github.com/SanyamPunia)\n* [Yash Punia](https://github.com/yash-Punia/)\n--\u003e\n## 🌌 Tech Stack\n\n- [Next.js](https://nextjs.org/) - Frontend Framework\n- [Tailwind CSS](https://tailwindcss.com/) - CSS Utility Framework\n- [Medusa.js](https://medusajs.com/) - ecom Platform\n\n## 🌠 Sub Dependencies\n\n- [React Hook Form](https://react-hook-form.com/)\n- [React Query](https://tanstack.com/query/v4)\n\n## 🔬 Local Setup \u0026 Installation\n\n1. Start off by installing `medusa` client globally on your system\n\n```bash\n$ yarn global add @medusajs/medusa-cli\n```\n\n\u003e 📌 Quick Note (By default)\n\u003e\n\u003e - Admin runs on PORT - 7000\n\u003e - Storefront runs on PORT - 8000\n\u003e - Backend runs on PORT - 9000\n\n2.  `cd` into each directory and install the dependencies\n\n```bash\n# Backend\ncd backend\nyarn install\n\n# Admin\ncd admin\nyarn install\n\n# Storefront\ncd storefront\nyarn install\n```\n\n3.  The backend server should be running in the background while developing the application!\n\n\u003e ### 👤 Creating a new admin user\n\u003e\n\u003e - `cd` into the `backend` directory and run the following command\n\u003e\n\u003e ```bash\n\u003e $ medusa user -e some@email.com -p somepassword\n\u003e ```\n\u003e\n\u003e - This will create a new user which can be used to access the dashboard\n\n4.  Test the application by running the server, admin and storefront\n\n```bash\n# Backend\ncd backend\nyarn start\n\n# Admin\ncd admin\nyarn start\n\n# Storefront\ncd storefront\nyarn dev\n```\n\n## 🎯 Overview\n\n1.  Login Component\n\n![1](https://user-images.githubusercontent.com/35108041/196891657-55df5526-0992-4272-87d0-49cbc4c9f788.png)\n\n2.  Register Component\n\n![2](https://user-images.githubusercontent.com/35108041/196891667-81321565-e09a-4c10-a3a0-5d9fbdaa1678.png)\n\n3.  Authenticated User (_any protected route_)\n\n![3](https://user-images.githubusercontent.com/35108041/196892272-d21582da-8846-459a-b32c-239bd9501632.png)\n\n## 🥏 Deployment\n\nFollow the deployment guide provided in the docs -\n\n- Server - https://docs.medusajs.com/deployments/server/\n- Admin - https://docs.medusajs.com/deployments/admin/\n- Storefront - https://docs.medusajs.com/deployments/storefront/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyampunia%2Fmedusa-auth-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanyampunia%2Fmedusa-auth-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyampunia%2Fmedusa-auth-starter/lists"}