mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
63cd906cfc
- Merge all files inside openflare-server to the repository root directory. - Relocate agent, relay, and flared subprojects from internal/ to internal/apps/. - Combine docker-compose files and update build context paths to root. - Update GitHub workflows and Dockerfiles to refer to new directories and package names. - Rewrite Go package imports across all files. - Resolve database renew test race condition and clean up docs.
51 lines
1.2 KiB
Markdown
51 lines
1.2 KiB
Markdown
# Wavelet Frontend
|
|
|
|
Modern frontend application for the Wavelet scaffold framework.
|
|
|
|
[中文](./README_zh.md) | English
|
|
|
|
## Tech Stack
|
|
|
|
- **Framework**: [Next.js 16](https://nextjs.org/)
|
|
- **Styling**: [Tailwind CSS 4](https://tailwindcss.com/)
|
|
- **UI Components**: [Radix UI](https://www.radix-ui.com/)
|
|
- **Icons**: [Lucide React](https://lucide.dev/)
|
|
- **Package Manager**: [pnpm](https://pnpm.io/)
|
|
|
|
## Getting Started
|
|
|
|
### Prerequisites
|
|
|
|
- Node.js (Latest LTS recommended)
|
|
- pnpm
|
|
|
|
### Installation
|
|
|
|
1. Install dependencies:
|
|
```bash
|
|
pnpm install
|
|
```
|
|
|
|
2. Run the development server:
|
|
```bash
|
|
pnpm dev
|
|
```
|
|
|
|
Open [http://localhost:3000](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 layouts
|
|
- `components/`: Reusable UI components
|
|
- `ui/`: Base UI components (buttons, inputs, etc.)
|
|
- `common/`: Shared business components
|
|
- `lib/`: Utility functions and service definitions
|
|
- `public/`: Static assets
|
|
|
|
## Scripts
|
|
|
|
- `pnpm dev`: Start development server with Turbopack
|
|
- `pnpm build`: Build the application for production
|
|
- `pnpm start`: Start production server
|
|
- `pnpm lint`: Run ESLint
|