Launch component icon Web App with Diploi

Launch a new Web App project and you will instantly have access to a development environment. No sign-up required.

Something extra?

Choose some optional add-ons to launch with Web App

Instant launch. No sign-up required.


Web App Starter Kit for Diploi

A production-ready React Router + Supabase starter that showcases SSR, runtime ENV wiring, Tailwind CSS styling, and Supabase-backed data flows.

This starter kit demonstrates:

  • 🔐 Supabase API access with typed helpers
  • ⚡️ React Router SSR + Vite dev experience
  • 🎨 Tailwind CSS styling with sensible defaults
  • 🗄️ Supabase migrations, seeds, and Edge Functions
  • 🧩 Diploi-managed components, ENV, and deployment automation

✨ Overview

This starter kit consists of two Diploi components configured in diploi.yaml:

  • react — React Router application (Vite, SSR, Tailwind, TypeScript)
  • supabase — Database, auth, migrations, seed data, Edge Functions

Diploi automatically wires the components together by injecting SUPABASE_URL and SUPABASE_ANON_KEY into the React component at runtime. No manual .env files are required in any environment.


🧱 Architecture

1️⃣ React (React Router) Component

  • Based on the Diploi react-vite component and the official React Router starter.
  • The app shell lives in app/root.tsx with SSR, streaming, and document links already configured.
  • Runtime environment variables load through the route loader exported from app/lib/useEnv.ts, ensuring the browser only receives the variables Diploi injects.
  • app/lib/useSupabase.ts exposes a singleton Supabase browser client backed by those ENV variables.
  • The landing view in app/welcome/welcome.tsx explains Diploi development workflow and renders a Supabase-powered todo demo via app/welcome/supabase.tsx.
  • Styling is handled with Tailwind CSS (already wired up through Vite) plus a minimal set of custom classes inside app/app.css.

Environment Variables

Access ENV values with the useEnv helper hook.

2️⃣ Supabase Component


💡 Docs

Build something great! 🚀


What is Diploi?

Diploi is the single SaaS service for managing, developing and hosting your full application.

  • Consistent

    • Consistent environments from development to production
    • Adoptable incrementally - start easy, grow later
  • One-Click

    • Fast 30 second new developer onboarding
    • One-click environment setup
    • Instantly shareable testing environments
  • Zero-Install

    • Zero-install remote development
    • Versatile support for any stack pre-build or custom
Learn more