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
Edit and publish
Data model
Backup and restore
Engineering decisions
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.
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.
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.
04Backups the owner can run
A single export covers every table. Recovering from a mistake does not need database access.
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.



