How yutsen1072/semid works
This is a Chinese-language authoring and editorial-review web application. Authors register or sign in, create and edit draft submissions, attach PDFs, then submit them for review; editors retrieve submissions and approve or reject them. The browser UI in script.js calls the FastAPI service in main.py, which handles authentication, submission workflows, and attachment access using SQLModel persistence. The excerpts show these routes and browser calls, but not all review-route behavior or database configuration; models.py is included as a separate submission-model file because its use by main.py is not evidenced.
Main entry points: main.py FastAPI routes · index.html Web page · script.js Browser workflows
Components 11
Browser client
- Web page
index.html - Browser workflows
script.js
API service
- FastAPI routes
main.py - Authentication
main.py
Submission workflow
- Submission lifecycle
main.py - PDF attachments
main.py - Editorial review
main.py
Data layer
- SQLModel database
main.py - Submission model
models.py
Other components
- Author
- Editor
Connections 12
- Author → Web page: uses
- Editor → Web page: uses
- Web page → Browser workflows: hosts
- Browser workflows → FastAPI routes: calls API
script.js - FastAPI routes → Authentication: routes auth
main.py - FastAPI routes → Submission lifecycle: routes submissions
main.py - FastAPI routes → PDF attachments: routes attachments
main.py - FastAPI routes → Editorial review: routes reviews
main.py - Authentication → SQLModel database: reads and writes
main.py - Submission lifecycle → SQLModel database: reads and writes
main.py - PDF attachments → SQLModel database: checks metadata
main.py - Editorial review → SQLModel database: updates status
main.py