Cortix
All-in-One Business Workspace SaaS

/ Overview
A multi-tenant SaaS that brings team management, finance tracking, project collaboration, documents and calendars into one workspace. Sensitive employee, user and finance data is encrypted at the field level, and partners can integrate through a scoped public API.
See it live/ Project Details
Name: Cortix
Type: All-in-One Business Workspace SaaS
Stack: Next.js, Node.js, MongoDB, Socket.io, Stripe, Tiptap, AES-256-GCM, Resend
Role: Full-stack engineer: architecture, backend, security and frontend
Platforms: Web (SaaS)
Project page: cortix.app
/ The challenge
Small teams were juggling separate tools for people, money, projects and documents, and the data involved (salaries, personal details, finance records) is exactly what should never sit in a database as plain text.
/ How I built it
01
Encrypted employee, user and finance fields with AES-256-GCM through transparent Mongoose hooks, so application code reads and writes normal values while the database only stores ciphertext.
02
Added key versioning so encryption keys can be rotated without breaking older records.
03
Built a Partner API with per-key scopes (documents, tasks, summary, clients) so other systems can integrate without full account access.
04
Shipped real-time updates with Socket.io, rich-text documents with Tiptap, scheduling with a full calendar, PDF and spreadsheet import, and transactional email with Resend.


/ Results
What this build delivers. Key outcomes and capabilities shipped for Cortix.
/ Highlights
01
Field-level AES-256-GCM encryption with key versioning
02
Scoped Partner API with X-API-Key authentication
03
Real-time collaboration over WebSockets
04
Stripe subscriptions with a free-forever plan








