Primary Sources • The Renaissance & Antiquity

Literature Preserved Through the Corridors of Time

From philosophical treatises of Classical Rome to monumental Renaissance historiography. Explore authentic archival reprints, leather-bound folios, and timeless historical literature.

Curated Selection

Featured Historical Folios

Hand-curated historical volumes across four epochs with authenticated provenance.

View All in Stacks

Project Foundation & Architecture Baseline

Chronicle & Quill is engineered with full-stack architectural patterns optimized for Vercel Free serverless runtimes and MongoDB Atlas Free Tier with anti-IDOR authorization and atomic inventory locks.

Active

MongoDB Cached Client

Cached connection pool preserving MongoClient across warm Vercel serverless invocations and Next.js HMR.

src/lib/mongodb.ts
Stateless

Jose JWT & Anti-IDOR

Stateless signed HttpOnly SameSite=Lax cookie sessions with strict anti-IDOR/BOLA guards on order resources.

src/lib/auth.ts + middleware.ts
58 QA Tests

Atomic Checkout Locks

Conditional inventory deductions with automatic rollback on race conditions, 24h TTL idempotency keys, and PCI guards.

src/app/api/checkout/
22 Books

Guest Cart Auto-Merge

Anonymous session cookie staging automatically merged into authenticated user account upon sign-in or registration.

src/lib/cart-helpers.ts