{"id":27150925,"url":"https://github.com/xingwd/xadmin","last_synced_at":"2026-04-26T23:31:17.039Z","repository":{"id":285697665,"uuid":"952370195","full_name":"Xingwd/xadmin","owner":"Xingwd","description":"FastAPI + Vue 全栈项目模板","archived":false,"fork":false,"pushed_at":"2025-04-02T06:57:35.000Z","size":4725,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T07:32:53.162Z","etag":null,"topics":["fastapi","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xingwd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-21T07:04:16.000Z","updated_at":"2025-04-02T06:57:39.000Z","dependencies_parsed_at":"2025-04-02T07:43:10.923Z","dependency_job_id":null,"html_url":"https://github.com/Xingwd/xadmin","commit_stats":null,"previous_names":["xingwd/xadmin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xingwd%2Fxadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xingwd%2Fxadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xingwd%2Fxadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xingwd%2Fxadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xingwd","download_url":"https://codeload.github.com/Xingwd/xadmin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856893,"owners_count":21007673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","vue"],"created_at":"2025-04-08T14:22:08.217Z","updated_at":"2026-04-26T23:31:17.001Z","avatar_url":"https://github.com/Xingwd.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XAdmin\n\n项目框架及后端基于 [Full Stack FastAPI Template](https://github.com/fastapi/full-stack-fastapi-template) 二次开发。\n\n前端基于 [BuildAdmin](https://github.com/build-admin/buildadmin) 二次开发。\n\n## 技术栈和特性\n\n- ⚡ [**FastAPI**](https://fastapi.tiangolo.com) 用于Python后端API。\n  - 🧰 [SQLModel](https://sqlmodel.tiangolo.com) 用于Python和SQL数据库的集成（ORM）。\n  - 🔍 [Pydantic](https://docs.pydantic.dev) FastAPI的依赖项之一，用于数据验证和配置管理。\n  - 💾 [PostgreSQL](https://www.postgresql.org) 作为SQL数据库。\n- 🚀 [Vue](https://vuejs.org) 用于前端。\n  - 💃 使用了TypeScript、Vite和其他一些现代化的前端技术栈。\n  - 🎨 [Element Plus](https://element-plus.org) 用于前端组件。\n  - 📊 [AntV](https://antv.antgroup.com) 用于可视化组件。\n  - 🤖 一个自动化生成的前端客户端。\n  - 🦇 支持暗黑主题（Dark mode）。\n- 🐋 [Docker Compose](https://www.docker.com) 用于开发环境和生产环境。\n- 🔒 默认使用密码哈希来保证安全。\n- 🔑 JWT (JSON Web Token) 令牌和 Oauth2 用于权限验证。\n- ✅ 单元测试用了 [Pytest](https://pytest.org)。\n- 📞 [Traefik](https://traefik.io) 用于反向代理和负载均衡。\n\n### 登录页\n\n[![Login Page](img/login.png)](https://github.com/Xingwd/xadmin)\n\n### 主页\n\n[![Home Page](img/home.png)](https://github.com/Xingwd/xadmin)\n\n[![Home Page Dark](img/home-dark.png)](https://github.com/Xingwd/xadmin)\n\n### 布局配置\n\n[![Layout Setting](img/layout-setting.png)](https://github.com/Xingwd/xadmin)\n\n### 常规管理 - 个人信息\n\n[![Routine UserInfo Page](img/routine-userInfo.png)](https://github.com/Xingwd/xadmin)\n\n### 系统管理 - 规则管理\n\n[![System Rule](img/system-rule.png)](https://github.com/Xingwd/xadmin)\n\n[![System Rule Create](img/system-rule-create.png)](https://github.com/Xingwd/xadmin)\n\n[![System Rule Edit](img/system-rule-edit.png)](https://github.com/Xingwd/xadmin)\n\n### 系统管理 - 角色管理\n\n[![System Role](img/system-role.png)](https://github.com/Xingwd/xadmin)\n\n[![System Role Info](img/system-role-info.png)](https://github.com/Xingwd/xadmin)\n\n[![System Role Create](img/system-role-create.png)](https://github.com/Xingwd/xadmin)\n\n[![System Role Edit](img/system-role-edit.png)](https://github.com/Xingwd/xadmin)\n\n### 系统管理 - 用户管理\n\n[![System User](img/system-user.png)](https://github.com/Xingwd/xadmin)\n\n[![System User Create](img/system-user-create.png)](https://github.com/Xingwd/xadmin)\n\n[![System User Edit](img/system-user-edit.png)](https://github.com/Xingwd/xadmin)\n\n### 系统管理 - 操作日志\n\n[![System Operation Log](img/system-operation-log.png)](https://github.com/Xingwd/xadmin)\n\n### 交互式 API 文档\n\n[![API docs](img/api-docs.png)](https://github.com/Xingwd/xadmin)\n\n### 配置\n\n你可以更新 `.env` 文件中的配置，以自定义你的配置。\n\n在部署之前，请确保至少更改以下值：\n\n- `SECRET_KEY`\n- `FIRST_SUPERUSER_PASSWORD`\n- `POSTGRES_PASSWORD`\n\n你可以（并且应该）以环境变量的形式传递这些机密内容。\n\n阅读 [deployment.md](./deployment.md) 文档以了解更多详细信息。\n\n### 生成 Secret Keys\n\n`.env` 文件中的一些环境变量的默认值为 `changethis`。\n\n你必须用一个密钥来更改它们，要生成密钥，你可以运行以下命令：\n\n```bash\npython -c \"import secrets; print(secrets.token_urlsafe(32))\"\n```\n\n复制内容并将其用作密码/密钥。然后再次运行以生成另一个安全密钥。\n\n## 后端开发\n\n后端文档：[backend/README.md](./backend/README.md).\n\n## 前端开发\n\n前端文档：[frontend/README.md](./frontend/README.md).\n\n## 通用开发\n\n通用开发文档：[development.md](./development.md).\n\n这包括使用 Docker Compose、自定义本地域、`.env` 配置等。\n\n## 部署\n\n部署文档：[deployment.md](./deployment.md).\n\n## License\n\nXAdmin 依据 MIT license 获得授权。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxingwd%2Fxadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxingwd%2Fxadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxingwd%2Fxadmin/lists"}