A FastAPI + Alpine.js single-page app for planning posts, channels, and publishing flow.
- Full SPA interactions for create, toggle, and delete actions (no page reload).
- Plan content by channel, publication status, target date, and priority.
- Switch between card workflow and 7-day radar calendar view.
- Filter by search, channel, status, and completion state.
- Live status strip and weekly visibility counters.
- SQLite + SQLAlchemy persistence with FastAPI REST endpoints.
- Render Blueprint-ready deployment via
render.yaml.
| Method | Endpoint | Description |
|---|---|---|
GET | /api/items | List content items |
POST | /api/items | Create content item |
PATCH | /api/items/{item_id}/toggle | Toggle completion state (is_done) |
DELETE | /api/items/{item_id} | Delete content item |
GET | /api/stats | Get dashboard stats |
GET | /health | Health check |
cd python-fastapi-content-planner
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reloadOpen:
- UI:
http://127.0.0.1:8000 - API docs:
http://127.0.0.1:8000/docs
render.yaml is included in the repository. You can deploy directly from this config.