# trace_system **Repository Path**: carolin-violet/trace_system ## Basic Information - **Project Name**: trace_system - **Description**: 基于加密技术的农产品溯源仿真系统。我的大学大创项目。主要包含区块链、非对称加密、vue全家桶、echarts、python-flask、爬虫requests库等相关技术 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: backend - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2022-02-15 - **Last Updated**: 2024-06-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python, Vue, Flask ## README # 基于加密技术的农产品溯源仿真系统(后端说明) 后端使用python语言编写,利用flask框架开发的后台接口,可以实现一些基本的数据加密解密和数据持久化存储。 使用时需要对settings.py文件中的数据库进行相应配置,并在commodity.py文件中更改局域网ip,后端服务的 ip和端口我是直接在pycharm中配置的,如果需要模拟上传温湿度信息的话需要在uploadData.py中配置下base_url和user_id 注意:拉了代码先pip install -r requirements.txt 安装依赖,然后pip install mysqlclient-1.4.6-cp37-cp37m-win32.whl(这个是数据库迁移会出现的问题),但是有些依赖可能需要手动安装下。 下图为用户扫描二维码查询信息界面: ![](https://gitee.com/carolin-violet/trace_system/raw/backend/markdown_imgs/1.png) ![](https://gitee.com/carolin-violet/trace_system/raw/backend/markdown_imgs/2.png) ![](https://gitee.com/carolin-violet/trace_system/raw/backend/markdown_imgs/3.png) ![](https://gitee.com/carolin-violet/trace_system/raw/backend/markdown_imgs/4.png)