How debbyg-001/naijatech-opps works
NaijaTech Opps is a Flask dashboard for discovering technology opportunities relevant to Nigerians. Visitors browse, search, filter, and view listings; the backend retrieves and ranks stored opportunities, applying deadline and regional rules. Administrators can import or draft listings, review and publish them, prepare WhatsApp posts, and inspect anonymous reach statistics. The graph includes the documented source integrations and UI capabilities; some wiring is based on README statements because the relevant implementation excerpts are incomplete.
Main entry points: app.py Flask routes · aggregator.py Listing retrieval · stats.py Reach metrics · db.py Listings and events
Components 17
Discovery and ranking
- Dashboard UI
static/js/app.js - Flask routes
app.py - Listing retrieval
aggregator.py - Deadline rules
deadlines.py - Region ranking
regions.py - Listings and events
db.py
Opportunity ingestion
- RSS and listing sources
- Feed and platform import
aggregator.py - HorizonScholar
Admin and outreach
- Admin panel
static/js/admin.js - Listing extractor
extractor.py - WhatsApp queue
static/js/whatsapp.js
Reach analytics
- Reach metrics
stats.py - Stats panel
static/js/stats.js
Other components
- Visitor
- Administrator
Connections 24
- Visitor → Dashboard UI: browses
README.md - Dashboard UI → Flask routes: requests listings
README.md - Flask routes → Listing retrieval: gets opportunities
app.py - Listing retrieval → Listings and events: reads listings
aggregator.py - Listing retrieval → Deadline rules: checks deadlines
aggregator.py - Listing retrieval → Region ranking: classifies listings
aggregator.py - Administrator → Admin panel: manages listings
README.md - Admin panel → Flask routes: calls admin APIs
README.md - Flask routes → Listing extractor: drafts listing
app.py - Flask routes → Listings and events: updates listings
app.py - Flask routes → Feed and platform import: syncs sources
README.md - Feed and platform import → RSS and listing sources: fetches listings
README.md - Feed and platform import → HorizonScholar: imports results
aggregator.py - Feed and platform import → Listings and events: stores imports
aggregator.py - Administrator → WhatsApp queue: prepares posts
README.md - WhatsApp queue → Flask routes: loads queue
README.md - WhatsApp queue → WhatsApp: opens message
static/js/whatsapp.js - Dashboard UI → Flask routes: sends events
static/js/app.js - Flask routes → Reach metrics: records events
app.py - Reach metrics → Listings and events: reads and writes events
stats.py - Reach metrics → Deadline rules: gets reporting date
stats.py - Reach metrics → Region ranking: groups results
stats.py - Administrator → Stats panel: views reach
README.md - Stats panel → Flask routes: requests metrics
README.md