{"id":24894960,"url":"https://github.com/razikus/supabase-nextjs-template","last_synced_at":"2025-04-14T01:26:09.491Z","repository":{"id":275036879,"uuid":"924533493","full_name":"Razikus/supabase-nextjs-template","owner":"Razikus","description":"A production-ready SaaS template built with Next.js 15, Supabase, and Tailwind CSS. Includes authentication, user management, file storage, task management demos, and secure RLS policies. Easily customizable with pre-built themes and legal documents. Perfect for quickly launching your SaaS product! 🎉","archived":false,"fork":false,"pushed_at":"2025-02-18T06:58:22.000Z","size":236,"stargazers_count":56,"open_issues_count":1,"forks_count":36,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T15:24:28.485Z","etag":null,"topics":["nextjs","react","sass","supabase","template"],"latest_commit_sha":null,"homepage":"https://basicsass.razikus.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Razikus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2025-01-30T07:22:08.000Z","updated_at":"2025-03-26T10:25:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"98433d2d-2aaf-42b9-970e-53d07c346f2c","html_url":"https://github.com/Razikus/supabase-nextjs-template","commit_stats":null,"previous_names":["razikus/supabase-nextjs-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razikus%2Fsupabase-nextjs-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razikus%2Fsupabase-nextjs-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razikus%2Fsupabase-nextjs-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Razikus%2Fsupabase-nextjs-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Razikus","download_url":"https://codeload.github.com/Razikus/supabase-nextjs-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248806069,"owners_count":21164446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["nextjs","react","sass","supabase","template"],"created_at":"2025-02-01T19:15:21.094Z","updated_at":"2025-04-14T01:26:09.469Z","avatar_url":"https://github.com/Razikus.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/razikus"],"categories":[],"sub_categories":[],"readme":"# Supabase Next.js SaaS Template\n\nA production-ready SaaS template built with Next.js 15, Supabase, and Tailwind CSS. This template provides everything you need to quickly launch your SaaS product, including authentication, user management, file storage, and more.\n\n## LIVE DEMO\n\nDemo is here - https://basicsass.razikus.com\n\n\n## Deployment video\n\nVideo is here - https://www.youtube.com/watch?v=kzbXavLndmE\n\n\n## SupaNuggets\n\nOn top of this template I'm building a SupaNuggets series - 50 mini apps\n\nhttps://supanuggets.razikus.com - grab your copy for free :) (Pay As You Want model)\n\n## 🚀 Features\n\n- **Authentication**\n    - Email/Password authentication\n    - Multi-factor authentication (MFA) support\n    - OAuth/SSO integration ready\n    - Password reset and email verification\n\n- **User Management**\n    - User profiles and settings\n    - Secure password management\n    - Session handling\n\n- **File Management Demo (2FA ready)**\n    - Secure file upload and storage\n    - File sharing capabilities\n    - Drag-and-drop interface\n    - Progress tracking\n\n- **Task Management Demo (2FA ready)**\n    - CRUD operations example\n    - Real-time updates\n    - Filtering and sorting\n    - Row-level security\n\n- **Security**\n    - Row Level Security (RLS) policies\n    - Secure file storage policies\n    - Protected API routes\n    - MFA implementation\n\n- **UI/UX**\n    - Modern, responsive design\n    - Dark mode support\n    - Loading states\n    - Error handling\n    - Toast notifications\n    - Confetti animations\n\n- **Legal \u0026 Compliance**\n    - Privacy Policy template\n    - Terms of Service template\n    - Refund Policy template\n    - GDPR-ready cookie consent\n\n## 🛠️ Tech Stack\n\n- **Frontend**\n    - Next.js 15 (App Router)\n    - React 19\n    - Tailwind CSS\n    - shadcn/ui components\n    - Lucide icons\n\n- **Backend**\n    - Supabase\n    - PostgreSQL\n    - Row Level Security\n    - Storage Buckets\n\n- **Authentication**\n    - Supabase Auth\n    - MFA support\n    - OAuth providers\n\n## 📦 Getting Started - local dev\n\n1. Fork or clone repository\n2. Prepare Supabase Project URL (Project URL from `Project Settings` -\u003e `API` -\u003e `Project URL`)\n3. Prepare Supabase Anon and Service Key (`Anon Key`, `Service Key` from `Project Settings` -\u003e `API` -\u003e `anon public` and `service_role`)\n4. Prepare Supabase Database Password  (You can reset it inside `Project Settings` -\u003e `Database` -\u003e `Database Password`)\n5. If you already know your app url -\u003e adjust supabase/config.toml `site_url` and `additional_redirect_urls`, you can do it later\n6. Run following commands (inside root of forked / downloaded repository):\n\n```bash\n# Login to supabase\nnpx supabase login\n# Link project to supabase (require database password) - you will get selector prompt\nnpx supabase link\n\n# Send config to the server - may require confirmation (y)\nnpx supabase config push\n\n# Up migrations\nnpx supabase migrations up --linked\n\n```\n\n7. Go to next/js folder and run `yarn`\n8. Copy .env.template to .env.local\n9. Adjust .env.local\n```\nNEXT_PUBLIC_SUPABASE_URL=https://APIURL\nNEXT_PUBLIC_SUPABASE_ANON_KEY=ANONKEY\nPRIVATE_SUPABASE_SERVICE_KEY=SERVICEROLEKEY\n\n```\n10. Run yarn dev\n11. Go to http://localhost:3000 🎉\n\n## 🚀 Getting Started - deploy to vercel\n\n1. Fork or clone repository\n2. Create project in Vercel - choose your repo\n3. Paste content of .env.local into environment variables\n4. Click deploy\n5. Adjust in supabase/config.toml site_url and additional_redirect_urls (important in additional_redirect_urls is to have https://YOURURL/** - these 2 **)\n6. Done!\n\n## 📄 Legal Documents\n\nThe template includes customizable legal documents - these are in markdown, so you can adjust them as you see fit:\n\n- Privacy Policy (`/public/terms/privacy-notice.md`)\n- Terms of Service (`/public/terms/terms-of-service.md`)\n- Refund Policy (`/public/terms/refund-policy.md`)\n\n## 🎨 Theming\n\nThe template includes several pre-built themes:\n- `theme-sass` (Default)\n- `theme-blue`\n- `theme-purple`\n- `theme-green`\n\nChange the theme by updating the `NEXT_PUBLIC_THEME` environment variable.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n\n## Need Multitenancy, Billing (Paddle) and Role Based Access Control?\n\nI have paid template as well available here:\n\nhttps://sasstemplate.razikus.com\n\nBasically it's the same template but with Paddle + organisations API keys + multiple organisations + Role Based Access Control\n\nFor code GITHUB you can get -50% off\n\nhttps://razikus.gumroad.com/l/supatemplate/GITHUB\n\n## 📝 License\n\nThis project is licensed under the Apache License - see the LICENSE file for details.\n\n## 💪 Support\n\nIf you find this template helpful, please consider giving it a star ⭐️\n\nOr buy me a coffee!\n\n- [BuyMeACoffee](https://buymeacoffee.com/razikus)\n\nMy socials:\n\n- [Twitter](https://twitter.com/Razikus_)\n- [GitHub](https://github.com/Razikus)\n- [Website](https://www.razikus.com)\n\n\n## 🙏 Acknowledgments\n\n- [Next.js](https://nextjs.org/)\n- [Supabase](https://supabase.com/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [shadcn/ui](https://ui.shadcn.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazikus%2Fsupabase-nextjs-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frazikus%2Fsupabase-nextjs-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazikus%2Fsupabase-nextjs-template/lists"}