# python-web **Repository Path**: guonan01/python-web ## Basic Information - **Project Name**: python-web - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-20 - **Last Updated**: 2026-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AuditKit 经责审计模型应用系统 AuditKit 是一个面向经责审计场景的全栈应用系统,提供应用管理、收藏中心、工作台和数据处理能力。项目采用 **FastAPI + PostgreSQL + Vue 3 + Vite** 的技术栈,支持本地开发和 Linux 服务器部署。 ## 项目简介 项目主要包含以下功能: - 用户注册、登录、退出 - 应用列表展示与应用详情查看 - 应用收藏 / 取消收藏 - 收藏列表管理 - 个人工作台入口 - 若干审计分析组件与数据处理页面 - 支持 PostgreSQL 持久化存储 ## 项目结构 ```text python-learning/ ├── app.py # 后端 FastAPI 服务 ├── init_db.sql # PostgreSQL 初始化脚本 ├── requirements.txt # Python 依赖 ├── frontend/ # 前端 Vue 3 项目 └── README.md # 项目说明 ``` ## 本地运行 ### 1. 准备环境 请先确保本机安装了: - Python 3.10+ - Node.js 18+ - PostgreSQL 14+ - Git ### 2. 启动 PostgreSQL 创建数据库并执行初始化脚本: ```bash psql -U postgres -f init_db.sql ``` ### 3. 启动后端 启动 FastAPI 服务: ```bash uvicorn app:app --reload --host 0.0.0.0 --port 8000 ``` 后端默认运行在: ```text http://127.0.0.1:8000 ``` ### 4. 启动前端 进入前端目录: ```bash cd frontend npm install npm run dev ``` 前端默认运行在: ```text http://127.0.0.1:3000 ``` 前端开发环境已配置代理,`/api` 请求会转发到后端服务。 ### 5. 访问系统 浏览器打开前端地址即可使用系统: ```text http://127.0.0.1:3000 ```