SKIP_TO_CONTENT

> Mounting userspace...

> INIT_SYSTEM: [ OK ]

SHAIKH_AMAN
VERSION 1.0.0STATUS: BLOG_PLATFORM

INSCRIBE

A React SPA backed by Hono on Cloudflare Workers, PostgreSQL via Prisma Accelerate, and JWT auth, with a shared Zod schema package published to npm.

INSCRIBE system preview

AI_SUMMARIES

WORKERS_AI

VALIDATION

SHARED_ZOD

DB_ACCESS

ACCELERATE

EDITOR

QUILL

ABOUT_THE_PROJECT

Inscribe is a full-stack blogging platform: users write with a rich-text editor, tag posts, like and comment, and can summarize any post in two sentences using Cloudflare Workers AI (Llama 3).

Workers can't hold TCP database connections, so Prisma runs through Accelerate's HTTP connection pool. Validation schemas live in a shared npm package (@shaikhaman/medium-common), so frontend and backend can never drift apart.

SYSTEM_ENVIRONMENT_MATRIX

// APPREACT+VITE
// APIHONO_WORKERS
// DBPOSTGRESQL
// ORMPRISMA_ACCELERATE
// AUTHJWT
// VALIDATIONZOD
// AIWORKERS_AI

Key_Challenges

  • [ ERR_01 ]
    Running Prisma on an edge runtime with no TCP connections: solved with the Prisma edge client and Accelerate.
  • [ ERR_02 ]
    Rendering user-generated HTML safely: every post is sanitized with DOMPurify before it touches the DOM.
  • [ ERR_03 ]
    Preventing duplicate likes under rapid clicks: a unique database constraint plus a toggle endpoint.

Key_Learnings

  • [ LN_01 ]
    Shared validation is an architecture decision: one Zod source of truth ended client/server drift.
  • [ LN_02 ]
    Constraints belong in the database; UI guards can't stop race conditions.
  • [ LN_03 ]
    Edge runtimes reshape standard patterns, from connection pooling to crypto.

//SYSTEM_COMPILE_COMPLETE

Have questions about this framework implementation or structural logic?