How nicy95319/submission works
This is a FastAPI manuscript-submission app for authors and editors. Authors log in, create and edit drafts, and submit them for review; editors can list submissions and mark them approved or return them to editing. FastAPI routes render role-specific pages, validate API inputs, and use SQLAlchemy models and sessions to persist users and submissions in PostgreSQL. The template contents were not excerpted, so their internal behavior is not shown.
Main entry points: main.py FastAPI routes · database.py Database sessions · models.py User and submissions · templates Role pages
Components 8
Web interface
- Role pages
templates
Application API
- FastAPI routes
main.py - Request schemas
schemas.py
Persistence
- User and submissions
models.py - Database sessions
database.py - PostgreSQL
Other components
- Author
- Editor
Connections 8
- Author → FastAPI routes: uses routes
main.py - Editor → FastAPI routes: uses routes
main.py - FastAPI routes → Role pages: renders
main.py - FastAPI routes → Request schemas: validates inputs
main.py - FastAPI routes → User and submissions: queries and updates
main.py - FastAPI routes → Database sessions: opens sessions
main.py - User and submissions → Database sessions: uses base
models.py - Database sessions → PostgreSQL: connects to
database.py