> sheikh_hasib.dev
back_to_projects
table: projects / row: presswire

PressWire

live

Premium news & publishing platform

PressWire screenshot
live_demo
tech_stack
Next.jsTypeScriptNode.jsExpress.jsPostgreSQLPrisma ORMTailwind CSSshadcn/uiRadix UIlucide-reactnext-themesjsonwebtoken
overview

A full-featured press platform where readers browse and search published stories by tag, authors publish and manage their own content, and admins moderate the publication. Premium subscriber-only articles behind a payment flow, and three role-based dashboards — USER, AUTHOR, and ADMIN — secured with httpOnly-cookie JWT sessions and server-side route protection.

key_features
  • Stripe-powered premium subscription flow with secure webhook-based access control.
  • Role-based dashboards — Admin, Author, and Reader — for content management, moderation, and analytics.
  • Nested comment system, full-text search, and a scalable multi-file Prisma schema architecture.
challenges

Designing a clean role-based dashboard architecture with httpOnly cookie sessions and consistent server-side route guarding across public, auth, and dashboard route groups.

future_improvements

Add a dedicated search index, an editorial workflow with drafts and review, and RSS/email digests for subscribers.