beimingwu/backend
zouxiaochuan a2c2573f4d fix(backend): send email using html format 2024-02-22 15:20:02 +08:00
..
database feat(backend): separate read and write operations in database 2023-12-29 11:25:34 +08:00
lib fix(backend): bug: reconnect redis when connection lost 2024-02-04 23:04:36 +08:00
restful fix(backend): send email using html format 2024-02-22 15:20:02 +08:00
scripts fix(backend): fix 'missing authorization header' error 2024-02-07 19:11:59 +08:00
tests feat(backend): verify learnware offline 2023-12-28 14:33:51 +08:00
README.md docs(backend): modify figure size in readme 2024-01-12 15:59:44 +08:00
__init__.py refactor(backend): modify file structure 2023-09-15 10:57:31 +08:00
config.py fix(backend): bug: reconnect redis when connection lost 2024-02-04 23:04:36 +08:00
context.py fix(backend): bug: reconnect redis when connection lost 2024-02-04 23:04:36 +08:00
environment.yaml refactor(backend): modify file structure 2023-09-15 10:57:31 +08:00
requirements.txt fix(backend): change gunicorn worker class to gevent 2024-01-19 13:00:20 +08:00

README.md

Beimingwu System Backend

The project is developed based on Flask + SqlAlchemy + Redis, serving as the backend of Beimingwu system.

Backend Architecture

Feature Development

Database

Table Definitions: database/sqlalchemy.py

Database Operations: lib/database_operations.py

Backend APIs

User APIs: restful/user.py

Login APIs: restful/auth.py

System Engine APIs: restful/engine.py

Admin APIs: restful/admin.py

Test Cases

User test cases: tests/test_user.py

Login test cases: tests/test_auth.py

System Engine test cases: tests/test_engine.py

Admin test cases: tests/test_admin.py

Main Entry Points

Backend Service: scripts/main.py

Data Backup: scripts/backup_data.py

Learnware Verification: scripts/monitor_learnware_verify.py