Lifers
Web Starter
Home
Quick Start
Components
Blog
FAQ
Get Started
LifersWeb Starter

A production-ready starter template with authentication, payments, database, and all the modern tooling you need to ship your web app quickly.

Product

  • Documentation
  • Components
  • Blog
  • FAQ

Resources

  • GitHub
  • Next.js
  • Untitled UI

Company

  • About Lifers
  • Privacy Policy
  • Terms of Service
Next.jsTypeScriptTailwind

Web Application

This is the Next.js web application for the cross-platform monorepo.

Getting Started

# From the workspace root
npm run dev:web

Project Structure

apps/web/
├── app/              # Next.js App Router pages
├── components/       # React components
├── lib/              # Utilities and configurations
├── prisma/           # Database schema
└── public/           # Static assets

Shared Packages

This app uses shared packages from the monorepo:

  • @repo/shared - Types and utilities
  • @repo/api-client - Supabase client
  • @repo/hooks - Shared React hooks
  • @repo/theme - Design tokens

Environment Variables

Copy .env.example to .env.local and configure:

cp .env.example .env.local

Required variables:

  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY (or legacy NEXT_PUBLIC_SUPABASE_ANON_KEY)
  • SUPABASE_SECRET_KEY (or legacy SUPABASE_SERVICE_ROLE_KEY)