b2b-saaskit  by fogbender

SaaS starter kit for B2B web apps using TypeScript, Astro, React, and Tailwind CSS

Created 2 years ago
658 stars

Top 50.9% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This B2B SaaS Starter Kit provides a comprehensive, open-source foundation for building business-to-business web applications. It targets developers aiming to rapidly launch a functional SaaS product, enabling team collaboration and offering a cost-effective starting point with free-tier third-party services.

How It Works

The kit leverages a modern stack including TypeScript, Astro, React, and Tailwind CSS. It integrates essential third-party services for authentication, database management (Drizzle ORM), secrets management, analytics, customer support, payments, and deployment via Vercel. tRPC is used for type-safe API communication, enhancing refactoring and maintainability. The architecture supports both Client-Side Rendering (CSR), Server-Side Rendering (SSR), and Static Site Generation (SSG) through Astro's flexible routing and prerendering capabilities.

Quick Start & Requirements

  • Install: Clone the repository, enable Corepack, activate Yarn 1.22.19, and run yarn dev.
  • Prerequisites: Node.js 18.17, 20.3, or 22.
  • Setup: Detailed configuration instructions are available at http://localhost:3000/setup.
  • Demo: An example application, Prompts with Friends, is available at https://PromptsWithFriends.com.

Highlighted Details

  • Utilizes tRPC for type-safe, end-to-end API development.
  • Integrates Drizzle ORM for database schema management and migrations, with specific guidance for Supabase Row Level Security policies.
  • Supports flexible rendering strategies (CSR, SSR, SSG) via Astro.
  • Designed for B2B use cases, facilitating team-based organization features.

Maintenance & Community

The project is maintained by fogbender. Further community or roadmap information is not explicitly detailed in the README.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: Permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

The README focuses on setup and core features; advanced customization or scaling strategies are not detailed. Specific guidance for migrating from Drizzle to Prisma is offered as a point of contact rather than included documentation.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Travis Fischer Travis Fischer(Founder of Agentic), and
10 more.

ToolJet by ToolJet

0.1%
37k
Low-code platform for building internal tools
Created 4 years ago
Updated 21 hours ago
Feedback? Help us improve.