How frakhmann/scribbles works
Scribbles Forum is a university-oriented community forum. Users register and activate accounts, sign in, then browse a post feed; the repository also exposes routes for creating and managing posts, comments, likes, notifications, universities, sections, users, and administration. The README is empty, and most route implementations were not sampled, so links among those features are not inferred. The graph shows only wiring supported by the sampled application entry point and authentication code.
Main entry points: main.py FastAPI app · auth.py Authentication · session.py DB sessions · dependencies.py Cookie identity
Components 18
Application entry
- FastAPI app
app/main.py
Identity and access
- Authentication
app/routers/auth.py - Cookie identity
app/auth/dependencies.py - Token security
app/utils/security.py - User routes
app/routers/users.py - Admin routes
app/routers/admin.py
Forum features
- Post routes
app/routers/posts.py - Comments
app/routers/comments.py - Likes
app/routers/like.py - Notifications
app/routers/notification.py - Sections
app/routers/sections.py - Universities
app/routers/universities.py - University sections
app/routers/universities_sections.py - Search page
app/routers/search.py
Persistence and services
- DB sessions
app/db/session.py - Relational database
- Confirmation email
app/utils/email.py
Other components
- Visitor
Connections 21
- Visitor → FastAPI app: requests
- FastAPI app → Authentication: mounts routes
- FastAPI app → User routes: mounts routes
- FastAPI app → Admin routes: mounts routes
- FastAPI app → Post routes: mounts routes
- FastAPI app → Comments: mounts routes
- FastAPI app → Likes: mounts routes
- FastAPI app → Notifications: mounts routes
- FastAPI app → Sections: mounts routes
- FastAPI app → Universities: mounts routes
- FastAPI app → University sections: mounts routes
- FastAPI app → Search page: mounts routes
- FastAPI app → DB sessions: requests session
- FastAPI app → Relational database: reads feed
- Authentication → DB sessions: opens session
- Authentication → Relational database: reads and writes
- Authentication → Confirmation email: sends activation
- Authentication → Token security: hashes and signs
- Cookie identity → DB sessions: opens session
- Cookie identity → Relational database: looks up user
- DB sessions → Relational database: connects