How alicekuo1016/113213004-submission works
This is a FastAPI submission-review application: authors create and manage drafts, submit them for editorial review, and editors approve or return them with revision notes. Editors can also inspect their review history, including saved review snapshots. The main routes and browser client are excerpted; templates and SQL files are documented but not sampled, so their detailed wiring is represented only where the README supports it.
Main entry points: app.js Browser client · db.py DB connection pool · base.html Shared layout · main.py Editor review
Components 18
Web experience
- Browser client
www/app.js - Login view
templates/login.html - Author views
templates/author_submissions.html - Submission form
templates/submission_form.html - Editor queue
templates/editor_queue.html - Review detail
templates/review_detail.html - Shared layout
templates/base.html
Application API
- Authentication
main.py - Author submissions
main.py - Editor review
main.py - Review history
main.py
Persistence
- PostgreSQL
- DB connection pool
db.py - Database schema
schema.sql - Review migration
upgrade_reviews.sql - Demo accounts
seed.sql
Other components
- Author
- Editor
Connections 25
- Author → Browser client: uses
README.md - Editor → Browser client: uses
README.md - Browser client → Authentication: logs in
www/app.js - Browser client → Author submissions: manages drafts
www/app.js - Browser client → Editor review: reviews submissions
www/app.js - Browser client → Review history: loads history
www/app.js - Browser client → Login view: renders
- Browser client → Author views: renders
- Browser client → Submission form: renders
- Browser client → Editor queue: renders
- Browser client → Review detail: renders
- Login view → Shared layout: extends
- Author views → Shared layout: extends
- Submission form → Shared layout: extends
- Editor queue → Shared layout: extends
- Review detail → Shared layout: extends
- Authentication → DB connection pool: queries users
main.py - Author submissions → DB connection pool: queries submissions
main.py - Editor review → DB connection pool: queries submissions
main.py - Review history → DB connection pool: queries history
main.py - DB connection pool → PostgreSQL: opens pool
db.py - Database schema → PostgreSQL: defines tables
- Review migration → PostgreSQL: upgrades schema
- Demo accounts → PostgreSQL: seeds users
- Editor review → Review history: records decisions
main.py