πŸ‘‹ Introduction

πŸ‘‹ Introduction

Everything you need to know to get started with T4, a type-safe, full-stack starter kit for React Native + Web.


πŸ“– Background

T4 is a project starter kit for building type-safe, native & web applications in TypeScript using Tamagui, tRPC, and Bun. Deploy to Cloudflare for a global edge network. All at a fraction of the cost of AWS, Vercel, or Azure.

It provides a unified, opinionated, & minimalistic setup for quickly getting started with building native & web apps, using the same code, without having to worry about the complexities of setting up a development environment.

πŸ’ͺ Build Apps for All Platforms

  • πŸ“± iOS
  • πŸ€– Android
  • πŸ•ΈοΈ Web
    • Progressive Web App (PWA) support
    • πŸ’» macOS
    • πŸͺŸ Windows
    • 🐧 Linux

Build native apps for iOS, Android, macOS, Windows, and Linux using the same codebas, never worry about using XCode or Android Studio again.

❓ Why T4?

It's universal across React Native & React Web, using well tested libraries for:

Other reasons to choose T4 are:

  • Small learning curve
  • Instant feedback, rapid development
  • High code re-use
  • Low bundle size
  • Edge compatible
  • Fast startup time
  • Simple setup
  • Allows for platform-specific code when needed
  • Type-safety

πŸ“¦ What's Included

✨ Features

  • βœ… Tamagui UI kit across all platforms
  • βœ… Bun support
  • βœ… Million.js Support
  • βœ… Tauri Support
  • βœ… Supabase Auth layer
  • βœ… Uses Next.js for building web apps
  • βœ… Uses Expo for building native mobile apps
  • βœ… PWA by default for native desktop support. No Electron required
  • βœ… Uses Cloudflare Workers for serverless functions
  • βœ… No Docker containers required
  • βœ… Uses tRPC & Tanstack Query for fetching & caching across all platforms
  • βœ… Authentication across all platforms
  • βœ… Powered by TypeScript for type safety and better developer experience
  • βœ… Comes with pre-configured ESLint and Prettier for code consistency
  • βœ… Github Action publishing for Expo apps
  • βœ… Database migration in CI/CD

πŸ’¬ Community

For help, discussion about best practices, or any other conversation that would benefit create-t4-app:

πŸ“’ Join the T4 Discord Server (opens in a new tab)

🫢 Contributors

We welcome contributions from anyone and everyone. Please read our contributing guidelines (opens in a new tab) for more information on how to get started.

πŸ‘ Special Thanks