How rrrrrjunn/midprj works
This is a FastAPI article-submission and editorial-review application. Users log in, authors create and submit articles for review, and editors approve them or return them to editing; the homepage directs authenticated users into the app. SQLite persists users and article status, while Jinja templates render the screens. The graph follows route registration and calls visible in the excerpts; the README is empty, and no external services are documented.
Main entry points: main.py FastAPI app · auth.py Login and session · db.py SQLite access · author.py Author submissions
Components 11
Web runtime
- FastAPI app
main.py - Home page
routes/pages.py
Identity
- Login and session
routes/auth.py
Author workflow
- Author submissions
routes/author.py
Editorial review
- Editorial review
routes/editor.py
Persistence and UI
- SQLite access
db.py - Database schema
sql/schema.sql - Application database
app.db - HTML templates
templates - Static styles
www/style.css
Other components
- Browser user
Connections 19
- Browser user → FastAPI app: sends requests
main.py - FastAPI app → SQLite access: initializes database
main.py - FastAPI app → Login and session: registers routes
main.py - FastAPI app → Author submissions: registers routes
main.py - FastAPI app → Editorial review: registers routes
main.py - FastAPI app → Home page: registers routes
main.py - FastAPI app → Static styles: serves static files
main.py - Home page → Login and session: checks session
routes/pages.py - Login and session → SQLite access: queries users
routes/auth.py - Author submissions → Login and session: checks session
routes/author.py - Author submissions → SQLite access: reads and writes articles
routes/author.py - Author submissions → HTML templates: renders forms and list
routes/author.py - Editorial review → Login and session: checks session
routes/editor.py - Editorial review → SQLite access: reads and updates articles
routes/editor.py - Editorial review → HTML templates: renders review screens
routes/editor.py - Login and session → HTML templates: renders login page
routes/auth.py - Home page → HTML templates: renders homepage
routes/pages.py - SQLite access → Database schema: loads schema
db.py - SQLite access → Application database: connects to
db.py