Skip to content

Getting Started โ€‹

Choose your preferred frontend framework and match it with a backend API to quickly start with HaloLight.

๐ŸŽฏ Choose Your Combination โ€‹

HaloLight uses a fully decoupled frontend-backend architecture, supporting 12 Frontends ร— 8 Backends = 96 Combinations.

Step 1: Choose Frontend Framework (Pick 1 of 12) โ€‹

FrameworkUse CasesCharacteristics
Next.js / NuxtMulti-tenant SaaS, SEO needsSSR + Edge rendering friendly
VueQuick delivery for small-medium teamsLightweight, smooth learning curve
AngularLarge-scale, long-term projectsStrong typing, clear architecture
SvelteKit / Solid / QwikHigh interaction, real-time scenariosUltimate performance & reactivity
Remix / Preact / LitProgressive enhancement, lightweightWeb Components, small bundle size
AstroContent-focused admin panelsIslands architecture, zero JS by default

Step 2: Choose Backend API (Pick 1 of 8) โ€‹

Backend TechUse CasesCharacteristics
NestJS / ExpressNode.js ecosystem teamsHigh compatibility with frontend TS
FastAPIData/AI-driven applicationsPython ecosystem, rapid iteration
Spring BootEnterprise, financial industryMature middleware ecosystem
Go FiberHigh performance, high concurrencyLow resource usage
PHP LaravelTraditional web teamsComplete ecosystem, easy to learn
Bun + HonoUltimate performance pursuitNext-gen runtime
tRPC BFFMobile/Desktop multi-platformType sharing, aggregation & simplification
๐Ÿ“Š Multi-tenant SaaS / Enterprise Admin

Recommended: Next.js + NestJS

Advantages:

  • SSR + TypeScript end-to-end unification
  • Code sharing (types, utilities)
  • Mature deployment ecosystem (Vercel + Railway/Fly.io)
๐Ÿค– Data-Intensive / AI-Driven Apps

Recommended: Vue + FastAPI or React + FastAPI

Advantages:

  • Python data science ecosystem (Pandas, NumPy, scikit-learn)
  • Fast API development (auto docs, dependency injection)
  • Lightweight frontend, easy chart library integration
๐Ÿข Large Enterprise / Long-term Projects

Recommended: Angular + Spring Boot

Advantages:

  • Strong typing, modular architecture
  • Mature enterprise middleware (auth, cache, message queue)
  • Long-term support and stability
โšก High-Performance Real-time Apps

Recommended: SvelteKit + Go Fiber

Advantages:

  • Frontend compilation optimization, minimal bundle
  • Backend high throughput, low latency
  • Low resource usage, cost optimization
๐Ÿ“ฑ Mobile/Desktop Multi-platform Unified

Recommended: Any Frontend + tRPC BFF + Any Backend

Advantages:

  • BFF aggregates and tailors APIs for multiple platforms
  • TypeScript end-to-end type safety
  • Reduces frontend complexity

Requirements โ€‹

  • Node.js 18.17 or higher
  • pnpm 8+ (recommended) / npm / yarn

Next.js Version โ€‹

bash
# Clone repository
git clone https://github.com/halolight/halolight.git
cd halolight

# Install dependencies
pnpm install

# Start development server
pnpm dev

Visit http://localhost:3000 to see the result.

Detailed documentation: Next.js Version Guide

Vue Version โ€‹

bash
# Clone repository
git clone https://github.com/halolight/halolight-vue.git
cd halolight-vue

# Install dependencies
pnpm install

# Start development server
pnpm dev

Visit http://localhost:5173 to see the result.

Detailed documentation: Vue Version Guide

Default Credentials โ€‹

All versions use the same Mock credentials:

RoleEmailPassword
Adminadmin@halolight.h7ml.cn123456

Directory Structure โ€‹

project-root/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/              # Page routes
โ”‚   โ”œโ”€โ”€ components/       # Components
โ”‚   โ”‚   โ”œโ”€โ”€ ui/          # shadcn/ui components
โ”‚   โ”‚   โ”œโ”€โ”€ layout/      # Layout components
โ”‚   โ”‚   โ””โ”€โ”€ dashboard/   # Dashboard components
โ”‚   โ”œโ”€โ”€ hooks/           # Custom hooks
โ”‚   โ”œโ”€โ”€ stores/          # State management
โ”‚   โ”œโ”€โ”€ services/        # API services
โ”‚   โ”œโ”€โ”€ lib/             # Utility library
โ”‚   โ”œโ”€โ”€ types/           # Type definitions
โ”‚   โ””โ”€โ”€ mocks/           # Mock data
โ”œโ”€โ”€ public/              # Static assets
โ””โ”€โ”€ package.json

๐Ÿš€ Quick Examples โ€‹

Option 1: Next.js + NestJS โ€‹

bash
# Terminal 1: Start frontend
git clone https://github.com/halolight/halolight.git && cd halolight
pnpm install && pnpm dev
bash
# Terminal 2: Start backend
git clone https://github.com/halolight/halolight-api-nestjs.git && cd halolight-api-nestjs
pnpm install && pnpm dev

Option 2: Vue + FastAPI โ€‹

bash
# Terminal 1: Start frontend
git clone https://github.com/halolight/halolight-vue.git && cd halolight-vue
pnpm install && pnpm dev
bash
# Terminal 2: Start backend
git clone https://github.com/halolight/halolight-api-python.git && cd halolight-api-python
pip install -e ".[dev]" && uvicorn app.main:app --reload

Next Steps โ€‹