Workfardin-rahman-portfolio-nextjs

Fardin Rahman Portfolio

I built a content-managed portfolio for Fardin Rahman, an industrial production engineer.

Role
Full Stack Developer
Timeline
Apr 2025 – May 2025
Main stack
NestJS & Next.js
Fardin Rahman Portfolio — NestJS & Next.js project screenshot

Overview

I built a content-managed portfolio for Fardin Rahman, an industrial production engineer. A public Next.js site shows his profile, experience, education, skills, projects, blog and LinkedIn posts.

A separate admin panel and a NestJS API let him edit every section himself, hide sections, back up the data and watch visitor activity.

Problem

A professional portfolio goes stale when every change needs a developer. The owner wants to add a project, post an article or hide an empty section the same day, without touching code.

Approach

I split the work into three parts. A fast public site, an admin panel with a rich text editor, and a NestJS API that stores everything in PostgreSQL. When the owner saves, the API tells the public site to refresh that content, so changes show up quickly.

Outcome

API endpoints
63
Database tables
12
Admin screens
14
Repositories
3
Lines of code
~20k

What I built

  • Public site with profile, experience, education, skills, projects, blog and LinkedIn posts
  • Blog with a rich text editor (Tiptap) and clean article URLs
  • Admin panel to edit every section, with sign-in and account settings
  • Show or hide whole sections of the public site from the admin
  • Contact form that stores messages in an inbox
  • Activity timeline and visit tracking
  • One-click backup and restore of the full portfolio
  • Image upload from the admin
  • JWT-protected API with validation, Swagger documentation and a health check
  • Dark and light themes, smooth animations and a PWA-ready setup
  • Docker builds and CI/CD pipelines, with a security scan on every repository

Architecture

System architecture

Diagram: a public site and an admin panel calling one NestJS API backed by PostgreSQL.
The public site and the admin share one API and one database. Open full size ↗

Edit and publish

Diagram: edit, save, revalidate and live.
A save in the admin refreshes the public pages that show that content. Open full size ↗

Data model

Diagram: twelve database tables.
Twelve tables cover the profile, content, traffic, messages and users. Open full size ↗

Backup and restore

Diagram: export, backup file, restore.
One file holds the whole portfolio, so a bad edit is never permanent. Open full size ↗

Engineering decisions

  1. 01A real API instead of hard-coded data

    Putting content behind an API gave the owner an admin and gave the site one source of truth. The same API can serve a mobile app later.

  2. 02Admin and public site are separate apps

    The public site stays small and fast. The admin carries the heavy editor and can change without touching what visitors download.

  3. 03Refresh pages on demand

    Pages are cached for speed, and a revalidate call clears only what changed. The owner sees the edit without waiting for a rebuild.

  4. 04Backups the owner can run

    A single export covers every table. Recovering from a mistake does not need database access.

  5. 05Sections can be hidden

    Not everyone has a blog or LinkedIn posts yet. A visibility switch removes a section cleanly instead of showing an empty one.

Need something similar?

Tell me what you are building and I will reply within one working day.

Start a project
↑↓ navigate↵ openesc closeCtrl K toggles this menu