What is Vertical Template?
The Vertical Template is a production-ready Next.js framework for building multi-tenant, config-driven vertical applications on the EnterpriseAI platform.
What You Can Build
A "vertical" is a domain-specific application — think immigration case management, healthcare patient portals, property management systems, or any business workflow. The Vertical Template gives you:
- Config-driven UI — Define your entire application layout, components, and behavior in TypeScript configuration files
- Multi-tenant architecture — Run multiple isolated tenants (organizations) from a single codebase with per-tenant branding, features, and data
- AI integration — Built-in SSE streaming chat, document upload, RAG indexing, and classification via the AICore service
- Platform SDK — Typed TypeScript SDK with modules for resources, chat, documents, users, auth, and orchestration
- EAI CLI — Command-line tool with 13 command groups for scaffolding, managing, and deploying verticals
- Azure deployment — One-command deployment to Azure App Service with GitHub Actions CI/CD
How It Works
- Define your data model using Object Types (typed schemas with fields, validation, actions)
- Configure your UI layout, components, and tenant settings in TypeScript
- Build pages using React components with Platform SDK hooks (
useResources<T>,useChat,useDocuments) - Deploy to Azure with
eai deploy— the CLI handles infrastructure setup and CI/CD
Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 15+ (App Router) |
| Language | TypeScript (strict mode) |
| UI | React 18+, Tailwind CSS v4, Shadcn/ui |
| State | Zustand (via @enterpriseaigroup/core) |
| Auth | Auth.js (NextAuth v5) with Microsoft Entra ID |
| API | BFF proxy pattern — tokens injected server-side |
| Packages | @enterpriseaigroup/core, @enterpriseaigroup/demo, @enterpriseaigroup/platform-sdk |
Next Steps
- Quick Start — Set up your environment and run a vertical in 5 minutes
- Tutorials — Build a task tracker, add AI chat, deploy to Azure
- EAI CLI — Learn the command-line tool
- Platform Guide — Understand the architecture and services