This is a multi-tenant PoC app built with NextJS.
App will render 2 different views depending on the requested domain. Middleware will intercept the http request and check the domain and redirect based on the domain value. Useful concept when we want to white label or host multi tenants in the application.
- [Tenant 1's view] (https://test-app-olive-pi.vercel.app/)
- [Tenant 2's view] (https://test-app-james-hwangs-projects.vercel.app/)
Local Development:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev