WorkCMS (Fullstack Content & Work Documentation Platform - personal project)

WorkCMS - Content Management Platform

Objective

WorkCMS is a full-stack content management and professional work documentation platform designed to centralize the creation, organization, publishing, and management of technical articles, software projects, and engineering case studies. It provides a structured administrative environment for documenting software architecture, implementation decisions, technical challenges, and project outcomes, supported by role-based access control, secure authentication, and media management.

Fullstack CMS / SaaS Architecture

TypeScript, Next.js, React, NestJS, Node.js, PostgreSQL, TypeORM, Supabase Auth, Supabase Storage, RBAC, REST API, AWS S3 SDK, Tailwind CSS

Summary

I designed and developed WorkCMS as a full-stack application using Next.js for the frontend and NestJS for the backend, following a modular architecture with a clear separation between the presentation, business logic, authentication, and persistence layers. The backend exposes RESTful APIs organized around domain-specific modules for projects, technical articles, skills, users, permissions, file uploads, and analytics. This architecture makes the application easier to maintain, extend, and deploy independently across frontend and backend environments.

For the frontend, I iterated on the design using an AI design creation tool to create the figma prototypes & themes. These designs were used to closely guide the development of the frontend platform to ensure a high quality and user-friendly interface. The frontend was built using Next.js. The UI architecture is component based and fully themable, using Shadcn, TailwindCSS and CSS variables.

For authentication and identity management, I integrated Supabase Auth with the NestJS backend, implementing a custom Supabase authentication guard to validate authenticated requests and resolve the active user. I adopted a hybrid identity architecture in which Supabase manages authentication identities while the Supabase PostgreSQL schema maintains user profiles, roles, and domain relationships. This allows the application to benefit from managed authentication while retaining full control over its authorization model and relational data. I also implemented custom parameter decorators for accessing authenticated user information within protected controllers.

I designed a granular Role-Based Access Control (RBAC) model using TypeORM entities and relational mappings. The authorization architecture includes User, Role, and Permission entities, with users associated with roles and roles mapped to multiple permissions through a dedicated join table. The system supports administrative and guest roles, providing a foundation for controlling access to CMS operations such as content creation, modification, publishing, and administrative management. Authorization responsibilities are separated from authentication, allowing access policies to evolve independently of the underlying identity provider.

The persistence layer is built on PostgreSQL with TypeORM handling entity mapping, relational queries, and schema migrations. I modeled relationships between projects, skills, users, roles, and permissions, including many-to-many associations for project technologies and role permissions. The content model supports project documentation, publication states, and structured technical metadata. I also configured TypeORM migrations to manage schema evolution explicitly rather than relying on automatic schema synchronization in production, using compiled migration artifacts as part of the deployment workflow.

For media management, I developed a dedicated NestJS upload module integrated with Supabase Storage. The module handles file validation, upload size restrictions, unique file identification, organized storage paths, and deletion operations. The storage integration uses server-side credentials to manage objects while keeping privileged operations away from the browser. This provides a reusable media management foundation for project screenshots, article illustrations, and other CMS assets, with the architecture supporting further improvements to file ownership and access control.

I also developed an analytics module within the NestJS backend, exposing endpoints for historical session activity and device-type statistics. This provides a foundation for understanding audience engagement and content consumption. The analytics capabilities are separated into their own application module, keeping reporting concerns independent of the core CMS domain logic.

From an infrastructure perspective, I designed WorkCMS for independently deployable frontend and backend services within a monorepo for centralized source control. The frontend is auto-deployed on Vercel, while the API is auto-deployed on Railway.

Follow me

© 2026 Developed by Kasope