Tech Stack
The frontend leverages cutting-edge technologies:Next.js 16
Latest Next.js with App Router, Server Components, and React 19 support
React 19
React 19 with React Compiler for automatic optimizations
TypeScript
Full type safety across the entire application
Bun Runtime
Blazing fast development with Bun as the JavaScript runtime
Key Features
React Compiler
ZeroStarter enables React Compiler out of the box for automatic memoization:next.config.ts
useMemo, useCallback, or memo in most cases. The compiler automatically optimizes your components.
App Router Architecture
The project uses Next.js App Router with a well-organized structure:(content) and (protected) organize routes without affecting URLs.
Server Components by Default
All components are Server Components unless marked with"use client". This reduces JavaScript bundle size and improves performance:
src/app/layout.tsx
Type-Safe API Client
Full end-to-end type safety with Hono RPC:src/lib/api/client.ts
Project Structure
Path Aliases
Clean imports with TypeScript path aliases:tsconfig.json
Environment Variables
Type-safe environment variables using@packages/env:
next.config.ts
Performance Optimizations
Image Optimization
Next.js Image component with automatic optimization:Font Optimization
Self-hosted fonts with automatic subsetting:globals.css
Code Splitting
Automatic code splitting with dynamic imports:Development Workflow
Next Steps
Routing
Learn about Next.js App Router, route groups, and layouts
Components
Explore Shadcn UI components and usage patterns
Data Fetching
Master TanStack Query for server state management
Styling
Understand Tailwind CSS configuration and patterns