b2b-saaskit  by fogbender

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

created 2 years ago
643 stars

Top 52.7% on sourcepulse

GitHubView on GitHub
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

6 months ago

Responsiveness

1+ week

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

Explore Similar Projects

Feedback? Help us improve.