Comic Pile is a dice-driven comic-reading tracker built with FastAPI, React, Vite, Tailwind CSS, and PostgreSQL.
git clone https://github.com/JoshCLWren/comic-pile.git
cd comic-pile
cp .env.example .env
make setup
make devThe frontend runs at http://localhost:5173. The FastAPI service and Swagger UI run at http://localhost:8000 and http://localhost:8000/docs.
make dev # frontend + API development servers
make dev-api # API only
make migrate # run Alembic migrations
make seed # seed local sample data
make lint # repository lint/type checks
make verify # complete local verification suite
make verify-e2e # Chromium browser validation when required
make tidy # Sweep local generated artifactsApplication database access is async PostgreSQL via asyncpg and SQLAlchemy AsyncSession. Alembic migrations are the only supported synchronous database exception. Do not skip or weaken failing tests to force a green build.
Production deploys from main on Vercel. The frontend is static Vite output, API routes are served by FastAPI, and PostgreSQL is hosted by Neon. Vercel Preview environments are intentionally unsupported. Fly.io and Railway are not current deployment targets.
app/: FastAPI application and API routescomic_pile/: core queue, roll, session, and reading logicfrontend/: React/Vite frontendalembic/: database migrationstests/: pytest coveragetests_e2e/: maintained browser scenariosscripts/: operational and development utilitiesdocs/: code-coupled documentation and the authoritative documentation index
Start with docs/README.md. It identifies the authoritative repository documentation, what must remain versioned with code, and what belongs in the GitHub Wiki.
For architectural decisions and system overview, see docs/ARCHITECTURE.md.
Coding agents must also follow AGENTS.md. Autonomous factory workers must follow docs/AUTONOMOUS_FACTORY_POLICY.md and docs/ISSUE_EXECUTION_PROTOCOL.md.
What’s New reads the database-backed release ledger. User-facing release notes are published after merge by the dedicated release writer. docs/changelog.md and docs/changelog.d/ are frozen historical migration sources retained only for provenance.
MIT. See LICENSE.