Online Demo: https://api.liaoguoyin.com
An elegant backend API of LNTU Course Management Information System and LNTU Students Quality Expansion Activity Management System.
-
Clone this repo to the local workspace:
git clone https://github.com/LiaoGuoYin/LNTUME
-
Change to its root directory, then installing requirements:
pip3 install -r requirements.txt
-
Copy
config-template.yaml
toconfig.yaml
, then filling your own db and account config in. -
(Optional) Run tests with pytest:
python3 -m pytest
-
Run Server:
python3 -m uvicorn app.main:app --reload
-
Then you can inspect the swagger docs of local API in your browser: http://localhost:8000/
-
With Python crawling student's info:
- login
- exam score
- personal information
- teaching plannings
- course table
- class room
- exam plannings
- CET scores
- public notice
- school calendar
-
Others:
- SunnyRunning(AiPao app)
- Student Quality expansion Spider
- Water-card Balance
- MySQL(5.7+) or Mariadb(10.3+)
- Python(3.7+)
注意:对于基于本项目 衍生、再发行的所有项目、所有子节点项目和使用了 LNTU-API 提供的部分开源组件 的项目,其需公开注明 LNTU-API 标识。
Note: ALL projects (including but not limited to any derivatives and/or the subprojects of this project) which use parts or all of the open-source components from LNTU-API should bear an explicit and clear reference to LNTU-API.