Skip to content

Latest commit

Β 

History

History
147 lines (104 loc) Β· 4.05 KB

File metadata and controls

147 lines (104 loc) Β· 4.05 KB

FluxMQ Documentation Website

Version License React TypeScript

FluxMQ Documentation Website - A modern, responsive documentation site for FluxMQ, the high-performance, scalable MQTT broker designed for modern applications.

πŸš€ Features

  • Modern Design: Built with React 18, TypeScript, and Tailwind CSS
  • Responsive: Mobile-first design that works on all devices
  • Internationalization: Support for English and Chinese languages
  • Interactive Documentation: Comprehensive guides, API references, and tutorials
  • Performance Optimized: Fast loading with Vite build system
  • Accessible: Built with accessibility best practices

πŸ› οΈ Tech Stack

  • Framework: React 18 with TypeScript
  • Build Tool: Vite
  • Styling: Tailwind CSS with custom design system
  • UI Components: shadcn/ui with Radix UI primitives
  • Internationalization: react-i18next
  • Icons: Lucide React
  • Routing: React Router DOM

πŸ“¦ Installation

Prerequisites

  • Node.js 18+
  • npm or yarn

Setup

# Clone the repository
git clone https://github.com/quickmsg/fluxmq-doc.git

# Navigate to the project directory
cd fluxmq-doc

# Install dependencies
npm install

# Start the development server
npm run dev

πŸš€ Development

# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

# Run type checking
npm run type-check

# Run linting
npm run lint

πŸ“ Project Structure

src/
β”œβ”€β”€ components/          # React components
β”‚   β”œβ”€β”€ ui/             # shadcn/ui components
β”‚   β”œβ”€β”€ Header.tsx      # Site header
β”‚   β”œβ”€β”€ Hero.tsx        # Hero section
β”‚   β”œβ”€β”€ Features.tsx    # Features showcase
β”‚   └── ...
β”œβ”€β”€ pages/              # Page components
β”œβ”€β”€ lib/                # Utilities and configurations
β”œβ”€β”€ hooks/              # Custom React hooks
β”œβ”€β”€ assets/             # Static assets
└── main.tsx           # Application entry point

🌐 Internationalization

The site supports multiple languages:

  • English (en)
  • Chinese (zh)

Language files are located in src/lib/i18n.ts. To add a new language:

  1. Add the language code to the resources object
  2. Provide translations for all keys
  3. Update the language selector in the header

🎨 Design System

The project uses a custom design system with:

  • Colors: Electric blue primary with dark theme
  • Typography: Modern, readable fonts
  • Components: Consistent UI components
  • Animations: Smooth transitions and effects

πŸ“š Documentation Sections

  • Introduction: Product overview and architecture
  • Installation: Platform-specific installation guides
  • Configuration: Complete configuration reference
  • Features: Advanced features and capabilities
  • API Reference: REST and WebSocket APIs
  • Clustering: High availability and scaling

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Links

πŸ“ž Support


Made with ❀️ by the FluxMQ Team