Best PracticesBest PracticesPatterns and tips for building production Katman APIs.Copy MarkdownOpenPatterns that work well in real Katman projects. Testing & MockingUnit test procedures with callable(), integration test with createServerClient(), HTTP test with handler().Monorepo SetupShare types between frontend and backend with the contract-first pattern.SSR OptimizationPrevent refetch waterfalls with server-side prefetching and hydration.AI SDKTurn Katman procedures into AI tools — LLMs call your API through function calling.Testing & MockingTest Katman procedures without starting a server.