- Year
- Scope
- My role
SeiBoost
A full-stack enterprise SaaS web app in Next.js 15. Real-time dashboard over WebSockets (Soketi), role-based auth (NextAuth), an advanced PostgreSQL schema with Prisma and a Dockerised deployment.
At a glance
- Year
- 2025
- Scope
- SaaS platform, real-time dashboard, roles and permissions
- My role
- Architecture, full-stack, DevOps
- Stack
- Next.js 15PrismaPostgreSQLNextAuthSoketiRedisRabbitMQDockerCI/CD
Case study
01The problem
The dashboard had to show live operational state to many users at once while still drawing lines around who may see what. Polling the server every few seconds from every open tab is a fast route to a saturated database — with a few dozen people logged in, the traffic grows faster than the value it delivers.
02What I built
- WebSockets over Soketi instead of polling — the server pushes the change and the browser never has to guess.
- Private channels per role and per team, so authorisation holds at the transport layer, not only in the view.
- Redis as the middle layer for events and read caching, leaving PostgreSQL to handle writes rather than refresh traffic.
- The schema is driven by Prisma migrations, so a model change is versioned alongside the code instead of clicked into a panel.
03What it does now
- A state change appears for every authorised user without a page refresh.
- Permissions are enforced in one place — adding a role does not mean auditing every view.
- Everything runs in Docker, so local and production are the same environment.
04Why this stack
Next.js 15 with server-side rendering, because the first screen after login had to be ready immediately. Soketi rather than a hosted service — the operational data stays on our own infrastructure and there is no per-message bill.
Got a project in mind?
Describe it in a few sentences — I reply within 24 hours with a free quote and a proposed stack.