Multi-Tenant SaaS2025Shipped
Blackgrid
Multi-tenant inventory SaaS with isolation enforced in middleware.
One deployment serving many independent businesses. Tenant isolation is enforced centrally rather than left to each view: tenant IDs are signed into the JWT and checked on every tenant-scoped route, and the X-Tenant-ID header is stripped on cross-origin requests to block forgery.
livelast push Blackgrid CI/CD Pipeline passing ·
~/blackgrid
Project Telemetry
REST endpoints
40+
Backend tests
84
Roles
3
Verticals
4
How it works
~/blackgrid/architecture · step 1/4
01
react + nginx
02
tenant middleware (signed JWT)
03
django rest api
04
postgres
05
redis
01Owner / Admin / Viewer RBAC with drf-spectacular OpenAPI docs.
0284 backend tests, including cross-tenant access attempts that must return 403, so isolation is verified, not assumed.
03CSV bulk import with validation; four industry verticals supported through a configuration adapter.
04Full stack on Docker Compose: PostgreSQL, Redis and Nginx in front of the API.
Project Info
DomainBackend
RoleBackend Engineer
Year2025
StatusShipped
Tech Stack
Django 5DRFPostgreSQL 15Redis 7DockerNginxReact

