How didar-ali-deed/didar-ali works
This is a server-rendered personal portfolio. A visitor requests a page or submits a form; FastAPI routes requests to portfolio data, templates, or dedicated contact, feed, and inference services, then returns HTML, JSON, or XML. Project content is validated from a JSON file. The homepage also offers browser-local sentiment analysis, separate from optional server-side inference. The graph preserves documented discovery and theme capabilities; template internals were not sampled, so their finer relationships are omitted.
Main entry points: app.py FastAPI routes · contact.py Contact delivery · settings.py Runtime settings · feeds.py Sitemap and RSS
Components 15
Web application
- FastAPI routes
app.py - Jinja templates
portfolio/templates - Static assets
portfolio/static/css/global.css
Portfolio content
- Content models
portfolio/data.py - Portfolio content
portfolio/content.json
Application services
- Runtime settings
portfolio/settings.py - Contact delivery
portfolio/services/contact.py - Sitemap and RSS
portfolio/services/feeds.py - Server inference
portfolio/services/ml_demo.py
Browser features
- Browser sentiment
portfolio/static/js/sentiment-demo.js
Other components
- Visitor
- Resend API
- SMTP server
- Transformers CDN
- Search crawlers
Connections 20
- Visitor → FastAPI routes: requests pages
README.md - FastAPI routes → Content models: reads projects
app.py - Content models → Portfolio content: loads and validates
portfolio/data.py - FastAPI routes → Jinja templates: renders pages
app.py - FastAPI routes → Static assets: mounts assets
app.py - Visitor → FastAPI routes: submits contact
app.py - FastAPI routes → Contact delivery: sends message
app.py - Contact delivery → Runtime settings: reads credentials
portfolio/services/contact.py - Contact delivery → Resend API: sends email
portfolio/services/contact.py - Contact delivery → SMTP server: sends email
portfolio/services/contact.py - FastAPI routes → Runtime settings: reads site settings
app.py - FastAPI routes → Sitemap and RSS: generates feeds
app.py - Sitemap and RSS → Content models: reads projects
portfolio/services/feeds.py - Sitemap and RSS → Runtime settings: reads site URL
portfolio/services/feeds.py - Search crawlers → FastAPI routes: requests discovery
README.md - Visitor → Browser sentiment: runs demo
README.md - Browser sentiment → Transformers CDN: loads classifier
portfolio/static/js/sentiment-demo.js - Visitor → FastAPI routes: requests inference
README.md - FastAPI routes → Server inference: predicts sentiment
app.py - Server inference → Runtime settings: reads model setting
portfolio/services/ml_demo.py