Commit Graph

4 Commits

Author SHA1 Message Date
mashen
7050f15f0a feat: 配置 React Router 路由
- 配置首页路由
- 配置城市列表页路由
- 配置城市详情页路由
- 配置个人中心页路由
- 配置 404 页面
- 集成 MobX stores
2026-04-09 13:46:50 +00:00
mashen
03f6e510d7 feat: 添加前端基础组件
- Layout(页面布局、头部导航)
- Loading(加载状态)
- ErrorMessage(错误提示)
- Card(卡片组件)
- CitiesPage(城市列表页)
- CityDetailPage(城市详情页)
- RegionStore, ArticleStore, ServiceStore
- 更新 App.js 路由配置
2026-04-09 13:46:35 +00:00
mashen
ff96867679 feat: 添加前端 MobX Stores
- RegionStore(版块管理、查询、评分、收藏)
- ArticleStore(文章管理、提交、审核、评论、点赞、统计)
- ServiceStore(特色服务管理、提交、审核、评论、点赞、评分、统计)
- InteractionStore(交互功能:评论、评分、点赞、收藏)
- 更新 UserStore(保持原有)
- 更新 AuthStore(保持原有)
- 更新 index.js 导入所有 Stores
2026-04-09 13:45:47 +00:00
mashen
cb491e8b87 Initial commit: React + Django full-stack project setup
- Backend: Django 4.2 + DRF + JWT + GraphQL
- Frontend: React 18 + MobX + styled-components
- Deployment: Docker + Docker Compose + Nginx
- Database: PostgreSQL support
- Documentation: README, INIT, PROJECT_DOCS, TESTING
2026-04-09 12:06:14 +00:00