Redbook
A social platform that mixes ideas from Reddit and Facebook — post, comment, and vote — without copying either; the architecture is entirely my own, built end to end on a hand-rolled PERN stack. Posts and comments carry independent up/downvotes, and messaging and notifications run live over Socket.io.
Hosted on free-tier services, so the server can take up to ~50s to wake up on the first request after a period of inactivity.
Case study
2 MIN READRedbook is the one project in this portfolio where I designed the whole architecture myself, rather than following a tutorial or template. It borrows feature ideas from Reddit and Facebook — voting, commenting, direct messaging — without being a clone of either. The goal wasn't just to build 'a social platform' — it was to prove I could handle something as critical as social media's core mechanics: a voting system, realtime messaging and notifications over Socket.io, image uploads through Cloudinary, and a fully Dockerized setup, all on a self-designed PERN stack, without leaning on a framework to handle the parts that are actually hard.
Voting needed to feel instant without spamming notifications: switching a vote should notify the post's author, but withdrawing one shouldn't. I built the vote handlers as an explicit three-way branch — add, remove, switch — that mutates the right array and only fires a Socket.io notification on the branches where a vote is genuinely being cast, not removed.
It's stable and deployed now, so the near-term focus is comment threading — letting replies nest under other replies to any depth, which the schema is still flat for. Beyond that, it's ongoing polish as free time allows.


