Skip to main content

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

  1. Define your data model using Object Types (typed schemas with fields, validation, actions)
  2. Configure your UI layout, components, and tenant settings in TypeScript
  3. Build pages using React components with Platform SDK hooks (useResources<T>, useChat, useDocuments)
  4. Deploy to Azure with eai deploy — the CLI handles infrastructure setup and CI/CD

Tech Stack

LayerTechnology
FrameworkNext.js 15+ (App Router)
LanguageTypeScript (strict mode)
UIReact 18+, Tailwind CSS v4, Shadcn/ui
StateZustand (via @enterpriseaigroup/core)
AuthAuth.js (NextAuth v5) with Microsoft Entra ID
APIBFF 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