# web_ui--vue3_admin_template_service **Repository Path**: repok/web_ui--vue3_admin_template_service ## Basic Information - **Project Name**: web_ui--vue3_admin_template_service - **Description**: http://giteaz:3000/web_ui/vue3_admin_template_service.git https://github.com/marciovrl/fastapi.git https://gitcode.net/pubz/senior_high_math/vue3_admin_template_service.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-12 - **Last Updated**: 2024-05-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 运行步骤 ```shell python3 -m venv fastapi_venv source fastapi_venv/bin/activate ``` 安装依赖 ```shell pip install fastapi pip install "uvicorn[standard]" ``` 上传图片 需要依赖: ```shell pip install python-multipart ``` fastapi服务以uvicorn运行: ```shell uvicorn app.main:app --host '0.0.0.0' --port 8000 --reload ``` fastapi服务以python运行:(方便开发调试) http://giteaz:3000/web_ui/vue3_admin_template_service/src/branch/master/boot.sh swagger-ui: http://localhost:8000/docs ## 页面因cdn而慢解决 ```shell grep cdn.jsdelivr.net/npm fastapi_venv/lib/python3.10/site-packages/fastapi/openapi/docs.py ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui-bundle.js", ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui.css", ] = "https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js", ``` ```txt https://cdn.staticfile.org/swagger-ui/5.9.0/swagger-ui-bundle.js https://cdn.staticfile.org/swagger-ui/5.9.0/swagger-ui.css ``` # 术语 ## XxxCrtReq == Xxx create request == 创建Xxx请求 客户端向后台发出的 创建Xxx 的请求 ## XxxUpdReq == Xxx update request == 修改Xxx请求 客户端向后台发出的 修改Xxx 的请求