OT
Back to work

Case study

Confidential SaaS Platform

A production-oriented SaaS platform with role-based onboarding, secure document workflows, admin review tools and shared business rules across the stack.

Project focus
Next.jsNestJSPrismaPostgreSQLS3

What I built

Key product features

Role-based onboarding experience
Secure document upload and validation flow
Admin dashboard for review and decision workflows
Shared business rules between frontend and backend

Technical approach

Tech decisions

  • Shared TypeScript and Zod schemas to keep frontend and backend validation consistent.
  • Role-based onboarding logic designed as explicit domain states instead of scattered UI conditions.
  • Secure document upload flow with file validation, storage status and review tracking.
  • Admin-facing workflows separated from user-facing onboarding to keep responsibilities clear.

Context

This project was built around a common SaaS problem: turning a complex onboarding and validation process into a clear product experience for multiple user roles.

Architecture

The platform uses Next.js for the user interface, NestJS for the API layer, Prisma with PostgreSQL for persistence, and shared TypeScript/Zod validation to keep frontend and backend contracts aligned.

Challenges

The hardest part was managing many business states without duplicating logic: user roles, onboarding progression, document status, admin review decisions and secure upload flows all had to stay consistent.

Outcome

The result is a maintainable fullstack foundation with typed API contracts, reusable validation, clear domain boundaries and production-ready workflow patterns.