Focus on Application, Not Database
Nexus is a type-safe ORM that puts your application logic first, letting you model your domain naturally in TypeScript while seamlessly connecting to your database of choice.
npm i @deveox/nexus
Supercharged with Features
App-First Approach
Model your business entities naturally according to your application's needs, with database concerns abstracted away so you can focus on solving real problems.
Type-Safe
Define your models with fully typed TypeScript-first approach and catch errors at compile time!
Database Agnostic
Connect to MongoDB today with PostgreSQL and other databases coming soon - your application code remains unchanged.
Repository Pattern
Clean architecture with repository pattern implementation for clear separation between your domain models and data access logic.
Schema Composition
Compose, extend, and reuse schemas with a Zod-like API that promotes code reusability and DRY principles.
Advanced Data Modeling
Support for sophisticated modeling techniques including discriminated unions, single table inheritance, and polymorphic relationships to handle complex data structures.