Dependencies
Next.js
Next.js provides the app runtime, routing model, and server/client boundaries used by Tulip apps.
Tulip apps are designed for the Next.js App Router.
Next.js owns routes, layouts, route handlers, metadata, server components, and client component boundaries. Tulip packages plug into that model instead of replacing it.
Where Tulip uses Next.js
@tulip-systems/appprovides root and admin layout components.@tulip-systems/auth/next/serverprovides auth helpers for server routes and protected layouts.@tulip-systems/storage/serverexposes route handler helpers for serving files.- App templates wire API routes, auth routes, storage routes, and RPC routes through Next.js.
What Tulip adds
Tulip adds reusable layout components, provider conventions, package styles, and focused Next.js helpers where a package needs route integration.
What your app owns
src/approute structure- server actions and route handlers that are app-specific
- auth and RPC route placement
- environment configuration
- deployment settings