Workcyphype-sociogram-analytics-nextjs-nestjs

CypHype — Sociogram Analytics Platform

I built CypHype, a staff-only sociogram dashboard for residence life.

Role
Full Stack Developer
Timeline
Jan 2026
Main stack
NestJS & Next.js
CypHype — Sociogram Analytics Platform — NestJS & Next.js project screenshot

Overview

I built CypHype, a staff-only sociogram dashboard for residence life. It stores resident profiles, maps their relationships as an interactive network graph, and tracks roommate conflicts and sensitive relationships with severity, status and visibility controls.

It runs on Next.js, NestJS and PostgreSQL.

Problem

Residence staff keep track of who lives with whom, who gets along and where problems are starting in notes, memory and spreadsheets. Patterns, like a resident at the centre of several conflicts, are hard to see, and sensitive details are easy to leave in the wrong place.

Approach

I built a dashboard that turns those notes into data. Residents are profiles, relationships are typed links between them, and conflicts are cases with a type, severity and status. A D3 graph draws the network so staff can see clusters and gaps at a glance. Everything sits behind staff sign-in, and sensitive links carry a visibility setting.

Outcome

API endpoints
39
Database tables
5
Dashboard sections
6
Relationship types
6
Conflict statuses
4

What I built

  • Resident profiles with room, year, clubs, interests, tags and interaction level
  • Profile picture upload with file validation
  • Relationship links between residents: friendship, academic, club, conflict, romantic and roommate
  • Interactive D3 network graph with zoom and drag
  • Roommate conflict tracking with type, severity and status from open to resolved
  • Conflict history with notes and actions taken
  • Romantic relationship records with status and a public, private or unknown visibility setting
  • Admin and super admin roles, with user management
  • JWT sign-in on every API route
  • Swagger documentation and a PostgreSQL database running in Docker

Architecture

System architecture

Diagram: a Next.js dashboard, a NestJS API and PostgreSQL.
Three parts, all behind staff sign-in. Open full size ↗

Sociogram graph

Diagram: residents, edges, graph and explore.
Typed relationships become links in a graph staff can zoom and drag. Open full size ↗

Conflict tracking

Diagram: open, mediation, escalated and resolved.
A conflict is a case with a status, a severity and a history. Open full size ↗

Access and privacy

Diagram: sign in, role and visibility.
Access is checked first. Sensitive records carry a visibility setting on top. Open full size ↗

Engineering decisions

  1. 01A graph, not a table

    Relationships are about shape. Clusters, isolated residents and busy hubs show up in a picture and disappear in rows of text.

  2. 02Typed relationships

    Six relationship types make the data comparable. Staff can filter conflicts from friendships instead of reading free text.

  3. 03Conflicts are cases

    A conflict has a status and a history, so open issues cannot be forgotten and resolved ones stay on record.

  4. 04Sensitive data is behind sign-in and visibility

    Every route needs a JWT. Romantic relationships also carry a visibility setting, because the data is personal and should be handled with care.

  5. 05Standard stack on purpose

    NestJS, TypeORM and PostgreSQL are easy to hand over. The next developer can read the code without learning anything unusual.

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