Multi-Tenant SaaSTenant-isolated storage
FileVault
A multi-tenant SaaS file manager with role-based access control, subscription billing and plan-based limits.
Role
Full-stack engineering of the API, data model and application
Timeline
5 months
Tech
Node.js, Express, TypeScript
Problem
Teams need shared, secure file storage where each organisation's data is isolated, permissions are enforced and access scales with paid plans — all without leaking one tenant's files to another.
Approach
- Design a multi-tenant data model with clear ownership boundaries per organisation.
- Implement role-based access control across SUPER_ADMIN, OWNER, ADMIN and MEMBER roles.
- Add Stripe subscription billing with plan-based storage and feature limits.
- Handle secure file upload and delivery through Cloudinary.
- Validate requests with Zod and secure the API with JWT authentication.
Solution
A production-ready SaaS platform on Prisma and PostgreSQL where organisations manage shared files under strict role permissions, with billing and plan limits built into the core model.
Outcomes
- Tenant isolation with enforced roles and permissions
- Subscription billing and plan-based limits
- Guarded file upload and delivery via Cloudinary
- Typed, validated API with JWT auth