mirror of
https://github.com/rnvm9wjdtj-bot/myaps_api.git
synced 2026-06-02 05:54:40 +00:00
b347c6af57dbe43ef7c197e525e7b75f02d4dafa
- 页面布局重构:header集成查询控件,分页移至tabs右侧 - 样式美化:全局等宽字体、Bootstrap图标、组件阴影动画 - 级别过滤改为≥逻辑,关键词支持多字段(路径/URL/请求体/响应体) - 时间范围可选(支持查询全部数据) - 统计数据改为后端计算(总数+级别分布) - 高级筛选分解到各页签,边界隔离修复 - 表头冻结、列表自适应高度 - 新增日志查询索引迁移脚本
MyAPS FastAPI Project
A simple FastAPI project template with a Python virtual environment.
Project Structure
myaps_fastapi/
├── venv/ # Python virtual environment
├── main.py # Main FastAPI application
├── requirements.txt # Project dependencies
├── .gitignore # Git ignore file
└── README.md # Project documentation
Getting Started
1. Activate the Virtual Environment
Windows:
venv\Scripts\activate
macOS/Linux:
source venv/bin/activate
2. Install Dependencies
pip install -r requirements.txt
3. Run the FastAPI Server
uvicorn main:app --reload
4. Access the API
- Open your browser and go to http://127.0.0.1:8000
- Swagger UI documentation: http://127.0.0.1:8000/docs
- ReDoc documentation: http://127.0.0.1:8000/redoc
API Endpoints
GET /- Root endpoint with welcome messageGET /api/info- Project information
Features
- FastAPI framework for high-performance API development
- Automatic interactive API documentation
- Python virtual environment for dependency isolation
- Git integration with proper ignore rules
Requirements
- Python 3.7+","}}}
Description
Languages
JavaScript
59.5%
Python
33.5%
HTML
3.7%
CSS
1.1%
Shell
0.8%
Other
1.4%