feat: initialize zhixing-web with React, React Router, and Tailwind CSS
- Set up the main application structure with App component and routing. - Implemented global state management for UI theme using Zustand. - Created API utilities for fetching system status. - Developed system status page with responsive design and theme toggle. - Added testing setup with Vitest and initial tests for system status page. - Configured TypeScript with appropriate settings for the application. - Integrated Tailwind CSS for styling and responsive design. - Established Vite configuration for development and testing environments.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Zhixing Server
|
||||
|
||||
FastAPI 后端使用 Python 3.12 与 `uv`。业务代码按限界上下文组织;只有真实业务需求明确后才在 `src/zhixing_server/modules/` 下新增上下文。
|
||||
|
||||
```bash
|
||||
uv sync
|
||||
uv run uvicorn zhixing_server.main:app --reload
|
||||
uv run pytest
|
||||
uv run ruff format --check .
|
||||
uv run ruff check .
|
||||
uv run pyright
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user