02SOCIAL PLATFORM / PRODUCTION

HobbySwap

HobbySwap — product screenshot
Back to work

The project at a glance.

An AitchSoft product. A large-scale social platform connecting people through shared hobbies and interests. Contributed to the live production system across frontend, backend, APIs, matching, notifications, localization, and SEO.

Built with

Next.jsReactNode.jsExpress.jsMongoDBTanStack QuerySocket.io

Screens

Inside the product

HobbySwap — Home page
Home · 1/9

What I built

Key contributions

01

Built a follow system so users can follow each other, plus @mention support in post comments.

02

Built real-time group chat, extending the platform's existing one-to-one messaging with Socket.io.

03

Developed backend APIs for posts, user profiles, profile settings, notifications, and other core platform functionality.

04

Designed and implemented a hobby-matching algorithm to identify compatible nearby users based on shared interests.

05

Built an end-to-end notification system supporting in-app, push, and email notifications.

06

Developed background jobs for trending-post email notifications and hobby-matching workflows.

07

Built frontend features with Next.js while improving SEO through dynamic metadata and URL-based routing.

08

Implemented localization across five languages using an i18n library.

09

Worked with TanStack Query for server-state management, caching, background refetching, and improved application responsiveness.

How it was built

The reasoning behind the build.

The problem

HobbySwap already had one-to-one messaging running in production when group chat was scoped. The two look alike from the outside — a room with a list of messages — but a two-person conversation lets you assume things that stop holding the moment a third person joins: who the room belongs to, who a message still needs to reach, and what "read" actually means.

The constraint

This was a live system with real conversations already moving through it. Rebuilding messaging from scratch to accommodate groups was never on the table; whatever I built had to extend the existing Socket.io layer without disrupting the direct messages users were already sending.

The decision

I generalized the room model rather than replacing it, so a one-to-one conversation became the two-member case of a group instead of a separate code path. Membership and delivery state were reworked to be per-participant, which let existing direct messages keep flowing through the same pipeline that now carries group traffic.

The tradeoff

Per-participant state costs more than the single-recipient assumption it replaced — an active group writes delivery state for every member, so that work scales with group size, not just message volume. I took that cost over the alternative, which was maintaining two parallel messaging systems and doubling the surface area of every future feature that touches chat.

Next project

AitchSoft Website