mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
f02fc9676a
- Fix Go backend mnd (magic number) and revive lint issues in zone stats. - Remove unused React/Lucide imports and variables in zone overview. - Add generateStaticParams and Suspense wrapper for websites/[zoneId] page to support Next.js static HTML export. - Remove next/font/google dependency to allow fully offline frontend compilation. - Fix hardcoded time dependency in ssl_renew_test.go. - Fix async_tasks_test.go to respect minimum 90-day retention clamping in database auto-cleanup. - Add Zone and ZoneDomain models to test database AutoMigrate schemas. - Update integration tests to use the new zone_domain_ids route binding scheme.
Wavelet Frontend
Modern frontend application for the Wavelet scaffold framework.
中文 | English
Tech Stack
- Framework: Next.js 16
- Styling: Tailwind CSS 4
- UI Components: Radix UI
- Icons: Lucide React
- Package Manager: pnpm
Getting Started
Prerequisites
- Node.js (Latest LTS recommended)
- pnpm
Installation
-
Install dependencies:
pnpm install -
Run the development server:
pnpm devOpen http://localhost:3000 (or the port shown in your terminal) with your browser to see the result.
Project Structure
app/: Next.js App Router pages and layoutscomponents/: Reusable UI componentsui/: Base UI components (buttons, inputs, etc.)common/: Shared business components
lib/: Utility functions and service definitionspublic/: Static assets
Scripts
pnpm dev: Start development server with Turbopackpnpm build: Build the application for productionpnpm start: Start production serverpnpm lint: Run ESLint