feat: multi-feature update

This commit is contained in:
chaos
2026-06-15 06:16:16 +08:00
parent 6f415428d3
commit 04d30f9dd1
58 changed files with 4610 additions and 419 deletions
+12 -3
View File
@@ -1,9 +1,14 @@
# Frontend Development - Backend built from local source
#
# Usage:
# Usage (Docker backend):
# 1. docker compose -f docker-compose.dev.yml up -d
# 2. cd web && bun install && bun run dev
# 3. Open http://localhost:3001 (Rsbuild dev server, API auto-proxied to :3000)
# 2. cd web/default && bun install && bun run dev
# 3. Open http://localhost:3000 (Rsbuild dev server, API auto-proxied to :3000)
#
# Usage (Local Go backend):
# 1. docker compose -f docker-compose.dev.yml up -d postgres redis
# 2. PORT=3002 SQL_DSN="postgresql://root:123456@localhost:5432/new-api" REDIS_CONN_STRING="redis://localhost:6379" go run main.go
# 3. cd web/default && VITE_REACT_APP_SERVER_URL=http://localhost:3002 bun run dev
#
# Rebuild backend after Go code changes:
# docker compose -f docker-compose.dev.yml up -d --build new-api
@@ -43,6 +48,8 @@ services:
image: redis:7-alpine
container_name: new-api-dev-redis
restart: unless-stopped
ports:
- "6379:6379"
networks:
- dev-network
@@ -54,6 +61,8 @@ services:
POSTGRES_USER: root
POSTGRES_PASSWORD: 123456
POSTGRES_DB: new-api
ports:
- "5432:5432"
volumes:
- dev_pg_data:/var/lib/postgresql/data
networks: