{"id":29866128,"url":"https://github.com/adrianhajdin/saas-template","last_synced_at":"2026-03-04T02:31:58.381Z","repository":{"id":308869289,"uuid":"1027755249","full_name":"adrianhajdin/saas-template","owner":"adrianhajdin","description":"SaaS Starter Template built with Next.js, Supabase \u0026 Clerk. Includes seamless auth, manage subscriptions and payments out of the box, and scale faster with a clean, reusable codebase — everything you need to kickstart your SaaS.","archived":false,"fork":false,"pushed_at":"2025-07-28T13:46:26.000Z","size":1549,"stargazers_count":135,"open_issues_count":0,"forks_count":52,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T15:38:36.855Z","etag":null,"topics":["clerk","nextjs","stripe","supabase","tailwind","typescript"],"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/adrianhajdin.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-07-28T13:38:18.000Z","updated_at":"2026-01-10T23:05:45.000Z","dependencies_parsed_at":"2025-08-08T12:14:19.017Z","dependency_job_id":"339f010f-9f59-42af-bf6e-bde8b5eb6846","html_url":"https://github.com/adrianhajdin/saas-template","commit_stats":null,"previous_names":["adrianhajdin/saas-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adrianhajdin/saas-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianhajdin%2Fsaas-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianhajdin%2Fsaas-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianhajdin%2Fsaas-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianhajdin%2Fsaas-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrianhajdin","download_url":"https://codeload.github.com/adrianhajdin/saas-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianhajdin%2Fsaas-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","response_time":59,"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":["clerk","nextjs","stripe","supabase","tailwind","typescript"],"created_at":"2025-07-30T12:01:46.186Z","updated_at":"2026-03-04T02:31:58.289Z","avatar_url":"https://github.com/adrianhajdin.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cbr /\u003e\n    \u003ca href=\"https://jsmastery.com/course/build-launch-your-saas-in-under-7-days\" target=\"_blank\"\u003e\n      \u003cimg src=\"public/readme/hero.png\" alt=\"Project Banner\"\u003e\n    \u003c/a\u003e\n  \u003cbr /\u003e\n\n  \u003cdiv\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Next.JS-black?style=for-the-badge\u0026logoColor=white\u0026logo=nextdotjs\u0026color=black\" alt=\"next.js\" /\u003e\n        \u003cimg src=\"https://img.shields.io/badge/-Tailwind-00BCFF?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Clerk-6C47FF?style=for-the-badge\u0026logoColor=white\u0026logo=clerk\" alt=\"next.js\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Supabase-3FCF8E?style=for-the-badge\u0026logo=supabase\u0026logoColor=white\" /\u003e\n  \u003c/div\u003e\n\n  \u003ch3 align=\"center\"\u003eSaaS App - LMS with Next.js, Supabase \u0026 Payments\u003c/h3\u003e\n\n   \u003cdiv align=\"center\"\u003e\n     Build this project step by step with our detailed tutorial on \u003ca href=\"https://jsmastery.com/course/build-launch-your-saas-in-under-7-days\" target=\"_blank\"\u003e\u003cb\u003eJavaScript Mastery\u003c/b\u003e\u003c/a\u003e platform. Join the JSM family!\n    \u003c/div\u003e\n\u003c/div\u003e\n\n## 📋 \u003ca name=\"table\"\u003eTable of Contents\u003c/a\u003e\n\n1. 🤖 [Introduction](#introduction)\n2. ⚙️ [Tech Stack](#tech-stack)\n3. 🔋 [Features](#features)\n4. 🤸 [Quick Start](#quick-start)\n5. 🔗 [Assets](#links)\n6. 🚀 [More](#more)\n\n## 🚨 Tutorial\n\nThis repository contains the code corresponding to an in-depth tutorial available on our Platform, \u003ca href=\"https://jsmastery.com/\" target=\"_blank\"\u003e\u003cb\u003eJS Mastery Pro\u003c/b\u003e\u003c/a\u003e.\n\n## \u003ca name=\"introduction\"\u003e🤖 Introduction\u003c/a\u003e\n\nSupercharge your SaaS app launch with this high-powered template – packed with built-in user auth, subscriptions, and payments using Next.js, Supabase, and Stripe! Hit the ground running and turn your idea into reality faster than ever.\n\nIf you're getting started and need assistance or face any bugs, join our active Discord community with over **50k+** members. It's a place where people help each other out.\n\n\u003ca href=\"https://discord.com/invite/n6EdbFJ\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/sujatagunale/EasyRead/assets/151519281/618f4872-1e10-42da-8213-1d69e486d02e\" /\u003e\u003c/a\u003e\n\n## \u003ca name=\"tech-stack\"\u003e⚙️ Tech Stack\u003c/a\u003e\n\n- **[Clerk](https://jsm.dev/converso-clerk)** is a unified platform for authentication, user management, and billing. It offers embeddable UI components, flexible APIs, and admin dashboards for secure user management. Clerk also simplifies subscription management, allowing you to define plans, create pricing pages, and control access based on subscription tiers—all in one solution.\n\n* **[Next.js](https://nextjs.org/)** is a powerful React framework that enables the development of fast, scalable web applications with features like server-side rendering, static site generation, and API routes for building full-stack applications.\n\n* **[shadcn/ui](https://ui.shadcn.com/)** is a customizable component library built on Radix UI and Tailwind CSS. It offers a modern, accessible design system with pre-built components that are easy to theme and extend, making it ideal for building polished UIs with minimal effort.\n\n- **[Supabase](https://supabase.com/)** is an open-source backend-as-a-service platform that provides instant APIs, real-time subscriptions, authentication, storage, and a PostgreSQL database, enabling developers to build scalable and secure applications with ease.\n\n* **[Tailwind CSS](https://tailwindcss.com/)** is a utility-first CSS framework that allows developers to design custom user interfaces by applying low-level utility classes directly in HTML, streamlining the design process.\n\n* **[TypeScript](https://www.typescriptlang.org/)** is a superset of JavaScript that adds static typing, providing better tooling, code quality, and error detection for developers, making it ideal for building large-scale applications.\n\n* **[Zod](https://zod.dev/)** is a TypeScript-first schema validation library that provides a simple and expressive way to define and validate data structures. Zod ensures data integrity by catching errors early during development.\n\n## \u003ca name=\"features\"\u003e🔋 Features\u003c/a\u003e\n\n👉 **Authentication**: Secure user sign-up and sign-in with Clerk; Google authentication and many more.\n\n👉 **Billing \u0026 Subscriptions**: Easily manage plans, upgrades, and payment details.\n\n👉 **Code Reusability**: Leverage reusable components and a modular codebase for efficient development.\n\n👉 **Cross-Device Compatibility**: Fully responsive design that works seamlessly across all devices.\n\n👉 **Database Integration**: Uses Supabase for real-time data handling and storage needs.\n\n👉 **No opinionated UI**: Easily bring your own style to the app, without the need for removing leftover styles.\n\n👉 **Scalable Tech Stack**: Built with Next.js for a fast, production-ready web application that scales seamlessly.\n\n## \u003ca name=\"quick-start\"\u003e🤸 Quick Start\u003c/a\u003e\n\nFollow these steps to set up the project locally on your machine.\n\n**Prerequisites**\n\nMake sure you have the following installed on your machine:\n\n- [Git](https://git-scm.com/)\n- [Node.js](https://nodejs.org/en)\n- [npm](https://www.npmjs.com/) (Node Package Manager)\n\n**Cloning the Repository**\n\n```bash\ngit clone https://github.com/JavaScript-Mastery-Pro/saas-template.git\ncd saas-template\n```\n\n**Installation**\n\nInstall the project dependencies using npm:\n\n```bash\nnpm install\n```\n\n**Set Up Environment Variables**\n\nCreate a new file named `.env` in the root of your project and add the following content:\n\n```env\n# Clerk\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\nCLERK_SECRET_KEY=\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in\nNEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL=/\nNEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL=/\n\n# Supabase\nNEXT_PUBLIC_SUPABASE_URL=\nNEXT_PUBLIC_SUPABASE_ANON_KEY=\n```\n\nReplace the placeholder values with your actual Supabase and Clerk credentials. You can obtain these by signing up on: [Supabase](https://supabase.com/dashboard), [Clerk](https://jsm.dev/converso-clerk).\n\n**Running the Project**\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser to view the project.\n\n## \u003ca name=\"links\"\u003e🔗 Assets\u003c/a\u003e\n\nYou can find the example database schema in the root of this repository.\n\n## \u003ca name=\"more\"\u003e🚀 More\u003c/a\u003e\n\n**Advance your skills with Next.js Pro Course**\n\nEnjoyed creating this project? Dive deeper into our PRO courses for a richer learning adventure. They're packed with\ndetailed explanations, cool features, and exercises to boost your skills. Give it a go!\n\n\u003ca href=\"https://jsm.dev/converso-nextjs\" target=\"_blank\"\u003e\n  \u003cimg src=\"public/readme/jsmpro.png\" alt=\"Project Banner\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianhajdin%2Fsaas-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianhajdin%2Fsaas-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianhajdin%2Fsaas-template/lists"}