Platforms is a full-stack Next.js application that demonstrates multi-tenant architecture with custom subdomain routing for each tenant.
The project solves the problem of building scalable multi-tenant applications where each tenant operates within their own subdomain while sharing underlying infrastructure. It uses Next.js 16's proxy feature to intelligently route requests to the correct tenant based on subdomain detection, stores tenant-specific data in Redis, and provides an admin interface for managing tenants. The architecture separates the main domain, which hosts a landing page and admin panel, from tenant subdomains that serve tenant-specific content and pages.
Developers building multi-tenant SaaS applications or platforms should consider this project if they want a production-ready reference implementation using Next.js. It works well for applications requiring tenant isolation through subdomains and supports local development with subdomains, Vercel preview deployments, and custom domain configuration. The tech stack uses React 19, Tailwind 4, shadcn/ui for the design system, and Upstash Redis for data storage. The project is specifically designed for deployment on Vercel and includes wildcard DNS configuration for custom domains.
The project maintains active development with regular updates to align with current framework versions. The codebase demonstrates modern Next.js patterns including the App Router and proxy-based request handling. Documentation covers both local development setup and production deployment procedures, with clear guidance on environment configuration and DNS requirements for custom domains.