No description
Find a file
admin 078ed376eb feat(backend): implement 7-MVP FastAPI backend with all models and API stubs
Implements complete FastAPI backend infrastructure for MoreThanADiagnosis with:

Core Infrastructure:
- FastAPI application with CORS, error handling, health checks
- SQLAlchemy ORM with PostgreSQL support
- Pydantic configuration management
- Docker & Docker Compose for production deployment

Database Models (7 MVPs + Auth):
- User, Profile, Role, Consent (identity)
- RefreshToken, AuthAuditLog (authentication)
- ForumCategory, ForumThread, ForumPost, ForumReaction, ForumReport (forum)
- BlogPost (blog)
- PodcastEpisode (podcast)
- Resource (resources)
- TributeEntry (tribute)
- MerchProduct, Order, OrderItem (merch)

API Endpoints (Alphabetical MVPs):
- /api/v1/blog - Blog posts (list, get)
- /api/v1/forum - Categories, threads, posts, reactions, reports
- /api/v1/merch - Products, orders
- /api/v1/podcast - Episodes
- /api/v1/profiles - User profiles
- /api/v1/resources - Knowledge base
- /api/v1/tribute - Memorials
- /api/v1/health - Health checks

Configuration & Deployment:
- .env.example for configuration
- Dockerfile with multi-stage build
- docker-compose.yml for PostgreSQL + Redis + API
- Production-ready on nexus-vector with port 8000
- Non-root user, health checks, security best practices

Dependencies:
- FastAPI, SQLAlchemy, Pydantic
- PostgreSQL, Redis
- Testing (pytest), Security (passlib, python-jose)
- Full requirements.txt with 30+ packages

Status: Foundation complete, MVP endpoint stubs ready
Next: Database migrations, authentication implementation

Job ID: MTAD-IMPL-2025-11-18-CL

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 00:46:43 +00:00
.github ci: add OpenSpec auto-approval workflow 2025-11-18 00:39:43 +00:00
apps chore: OpenSpec scaffold 2025-11-17 22:57:40 +00:00
backend feat(backend): implement 7-MVP FastAPI backend with all models and API stubs 2025-11-18 00:46:43 +00:00
openspec docs(openspec): approve and apply 3 infrastructure proposals (Data Model, Authentication, Design System) 2025-11-18 00:39:01 +00:00
packages chore: OpenSpec scaffold 2025-11-17 22:57:40 +00:00
.gitignore chore: OpenSpec scaffold 2025-11-17 22:57:40 +00:00
README.md chore: OpenSpec scaffold 2025-11-17 22:57:40 +00:00
ROADMAP.md chore: OpenSpec scaffold 2025-11-17 22:57:40 +00:00

More Than A Diagnosis — Community Hub (OpenSpec)

This repository hosts the multiplatform community hub for morethanadiagnosis.com, designed for people living with cancer or terminal diagnoses. The project strictly follows the OpenSpec methodology and is compatible with https://github.com/Fission-AI/OpenSpec.

Key goals

  • Full feature parity across Android, iOS, and Web
  • Accessibility tailored to chronic/terminal illness communities (WCAG 2.2 AA+)
  • Strong privacy and compliance practices (HIPAA/GDPR/platform policies)
  • Open APIs and modular architecture to support opensource and thirdparty extensions
  • Seamless migration from the existing Wix site

Start here

  • See openspec/project.md for conventions, workflow, and architectural guardrails.
  • Propose changes with the template in openspec/templates/proposal-template.md.
  • Active and archived proposals live under openspec/changes/.
  • Approved/implemented specs live under openspec/specs/.

Repository layout

  • openspec/ — OpenSpec workflow, specs, and changes
  • apps/ — App code (placeholders for web and mobile; to be proposed via OpenSpec)
  • packages/ — Shared libraries/modules (to be proposed via OpenSpec)