build enterprise applications today, deploy tomorrow.

Overview
MoonKit is a full-stack TypeScript application framework designed to compress months of development into hours. Combining automated code generation (Prisma → tRPC → Shield) with Moon's enterprise packages (authentication, logging, events, RBAC), it delivers multi-tenant applications with dual real-time API architectures.
The framework provides complete type safety, role-based access control, and security by default, enabling rapid development of enterprise-grade applications without compromising on quality or security.
Key Features
- ▽Automated code generation
- ▽Type-safe APIs (tRPC)
- ▽Multi-tenant architecture
- ▽Role-based access control
- ▽Real-time capabilities
- ▽Enterprise authentication
- ▽Security by default
Dual API Architecture
MoonKit features a unique dual API architecture that serves both web and native platforms. Type-safe tRPC endpoints provide seamless full-stack TypeScript integration for web clients, while RESTful endpoints ensure compatibility with native mobile applications and third-party integrations.
Both API layers share the same business logic and security policies, ensuring consistency across all platforms while optimizing for each platform's specific needs.
Automated Code Generation
Define your data models once in Prisma, and MoonKit automatically generates your entire API stack including tRPC routers, security shields, and type definitions. This eliminates boilerplate and ensures your frontend and backend stay in perfect sync.
$ npx moonkit generate
✓ Generated tRPC routers
✓ Generated security shields
✓ Generated type definitions
✓ Updated API documentationKey Features
- ▽Automated code generation
- ▽Type-safe APIs (tRPC)
- ▽Multi-tenant architecture
- ▽Role-based access control
- ▽Real-time capabilities
- ▽Enterprise authentication
- ▽Security by default