sanctum/index.md
2025-12-08 20:03:05 -07:00

2.5 KiB

Sanctum App - Project Structure

Overview

Next.js 15 application bootstrapped with OpenNext for Cloudflare Workers deployment. Currently in initial setup phase with default Next.js starter template.

Project Root Files

Application Source

src/app/

  • layout.tsx - Root layout component with Geist font configuration
  • page.tsx - Homepage component with Next.js default landing page

src/lib/

  • utils.ts - Utility functions including Tailwind class merging helpers

Configuration

.vscode/

Build Output

  • .next/ - Next.js build output directory (ignored by git)
    • Contains compiled application, cache, and server bundles
    • Includes standalone build for Cloudflare Workers deployment

Technology Stack

Framework: Next.js 15.5.7 with App Router Runtime: React 19.1.2 Deployment: OpenNext Cloudflare adapter for Workers Styling: Tailwind CSS 4.x with PostCSS UI Components: shadcn/ui with class-variance-authority, clsx, lucide-react Language: TypeScript 5.x Package Manager: PNPM Development: Turbopack for fast dev server

Available Scripts

  • pnpm dev - Start Next.js development server with Turbopack
  • pnpm build - Build Next.js application
  • pnpm start - Start production Next.js server
  • pnpm lint - Run ESLint code quality checks
  • pnpm deploy - Build and deploy to Cloudflare Workers
  • pnpm upload - Build and upload to Cloudflare (no deployment)
  • pnpm preview - Build and preview locally on Cloudflare runtime
  • pnpm cf-typegen - Generate Cloudflare environment TypeScript types