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
Sociogram graph
Conflict tracking
Access and privacy
Engineering decisions
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.
02Typed relationships
Six relationship types make the data comparable. Staff can filter conflicts from friendships instead of reading free text.
03Conflicts are cases
A conflict has a status and a history, so open issues cannot be forgotten and resolved ones stay on record.
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.
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.



