TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Codefied-CodePix/KaroCar-platform/llms.txt
Use this file to discover all available pages before exploring further.
corporate app is the enterprise-grade portal for business accounts and fleet operators on the KaroCar Platform. It provides organisations with the tools to manage multi-user accounts, oversee fleet bookings, access consolidated reporting, and configure company-wide preferences for KaroCar services. The homepage (app/page.tsx) renders a Vendor Dashboard heading — the corporate portal intentionally reuses the vendor-style layout as a structural foundation for its enterprise management views.
The
corporate app’s page.tsx currently renders a “Vendor Dashboard”
heading. This is intentional — the corporate portal reuses the same
vendor-style layout pattern as a starting scaffold for its enterprise
management interface. The heading and copy are expected to be updated as
corporate-specific features are built out on top of this foundation.Tech Stack
Next.js 16.2.7
App Router with server components for enterprise-scale data rendering and nested route organisation.
React 19.2.4
Latest stable React for interactive, data-rich corporate management dashboards.
Tailwind CSS v4
Utility-first CSS with the v4 PostCSS engine, ensuring consistent styling with the broader platform.
TypeScript 5
Strict typing across fleet models, organisation structures, and API integrations.
Directory Structure
app/ following Next.js App Router conventions.
Package Configuration
Thecorporate app does not depend on any internal workspace UI packages. Its component set is built locally within the app, keeping it independently deployable.
Development Commands
Building & Starting
Install dependencies
Run
pnpm install from the monorepo root. All workspace packages and local node_modules will be linked automatically.Build the corporate app
Run
turbo build --filter=corporate. Turborepo caches the build output so subsequent runs only recompile changed modules.Linting
Customising the Layout
The corporate portal currently inherits the vendor-style page scaffold. To differentiate it:Updating the homepage heading
Updating the homepage heading
Edit Update the accompanying paragraph to reflect enterprise-specific messaging for fleet operators and business account managers.
apps/corporate/app/page.tsx and replace the <h1> content:Adding organisation routes
Adding organisation routes
Create new route segments under
apps/corporate/app/ following App Router conventions:Related Pages
Vendor App
The vendor dashboard whose layout pattern the corporate portal is based on.
Auth App
The centralised authentication service for corporate user sign-in.
Admin App
Internal operator dashboard for platform-wide management.
Local Setup
Step-by-step guide to running the full platform stack locally.
