Ritvik Saran S
← All projects

Portfolio & Blog Platform

This site: a Next.js frontend backed by a NestJS API and PostgreSQL, with short and long forms for every project and post.

Role
Solo: design, backend, frontend
Timeline
Dec 2026 – Present
  • Next.js
  • NestJS
  • PostgreSQL
  • Prisma
  • Tailwind CSS
  • Zod

Problem

I wanted one place that shows what I build and what I think, without depending on a third-party blogging platform.

Approach

  • Monorepo with npm workspaces: apps/web, apps/api and packages/shared
  • Shared contracts: Zod schemas validate API input and give both apps the same types
  • Layered API: controller → service → repository, so each layer has one job
  • Cache Components on the frontend keep pages prerendered and fast while new content appears within minutes

Outcome

A small, predictable codebase that is easy to extend with new content types.