feat: 初始化 React + Vite + Supabase 用户管理应用

- 使用 Vite 创建 React 应用基础结构,包含主应用布局和路由
- 集成 Supabase 客户端,实现用户表的 CRUD 操作
- 添加 Ant Design UI 组件库,构建用户管理界面
- 配置数据库迁移脚本,初始化 users 表及示例数据
- 设置开发环境配置,包括 ESLint、Git 忽略文件和项目依赖
This commit is contained in:
2026-01-27 19:50:17 +08:00
commit fdfc00f539
17 changed files with 3362 additions and 0 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
## Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.