# Development Guide

## Environment

| Tool | Version | Purpose |
|------|---------|---------|
| IDEA | 2022+ | Backend IDE |
| JDK | 8 | Java runtime |
| Maven | 3.6+ | Build tool |
| VS Code | Latest | Frontend IDE |
| Node.js | 14+ | Frontend build |
| MySQL | 5.7+ | Database |
| Redis | 7.0+ | Cache |

## Project Structure

```
springboot/
├── fastbee-admin        # Entry module (main + config)
├── fastbee-common       # Utilities, constants, exceptions
├── fastbee-framework    # Security, auth, interceptors
├── fastbee-open-api     # 37 REST Controllers
├── fastbee-service      # Business logic (IoT + system)
├── fastbee-server       # Netty MQTT Broker + SIP Server
├── fastbee-protocol     # Protocol codec
├── fastbee-plugs        # Plugin extensions
└── sql/                 # Database scripts
```

## Quick Start

1. Clone repo and import into IDEA
2. Create MySQL database and import SQL
3. Edit `application-dev.yml`
4. Run `FastBeeApplication`
5. Frontend: `cd vue && npm install && npm run dev`

See [Backend](https://www.fastbee.cn/doc/en/open/v2/dev/backend.md) and [Frontend](https://www.fastbee.cn/doc/en/open/v2/dev/frontend.md) for details.
