Fantasy Forum

BCSAI · Flask Web App · Deployed on Azure

Talk fantasy. Win your league.

The ultimate place to discuss everything fantasy football — from a simple trade question to showing off your knowledge. See how people feel about players, hear the latest, and get the edge. Posts, flairs, comments, and a full JSON API.

u/yourname

↑ A scripted demo of the flair filter + search — filter the feed by tapping a flair or typing.

01 — What you get

A full discussion board, batteries included.

🔐

Accounts & sessions

Registration and login with password hashing and persistent sessions.

📝

Posts with flairs

Create, edit, delete, and comment — tagged TRADE HELP, WAIVER WIRE, INJURY TALK, or OTHER.

🔎

Search & pagination

Find posts fast and page through results via the JSON API.

📈

Metrics

Health checks and Prometheus-friendly metrics, with a lightweight fallback.

☁️

Azure tracing

Optional Application Insights tracing via opencensus when available.

🐳

Dockerized

Build and run with Docker or Docker Compose; SQLite is created automatically.

02 — JSON API

Everything the UI does, over HTTP.

A clean REST surface backs the forum — paginated search, single-post payloads, comments, per-flair stats, and a full export.

GET /api/posts?flair=&q=&page=&per_page=paginated posts · search · flair filter
GET /api/posts/<id>single post payload
GET /api/posts/<id>/commentscomments for a post
GET /api/statscounts per flair + 5 latest
GET /api/export/postsdownload all posts as JSON
GET /health · /metricsstatus + Prometheus metrics

03 — Pages

Where to go.

/ Home — all posts, filter by flair
/about Quick project summary
/api-demo Search & download JSON in-browser
/login · /register Create an account
/post/new Publish a post
/post/<id>/edit Edit or delete

04 — Stack

Built with.

🐍 Python 3.10+ 🌶 Flask 🗄 SQLite 🔗 JSON REST API 📊 Prometheus ☁️ Azure App Insights 🐳 Docker Compose 🧪 pytest (90%+ cov)