A high-level Node.js/TypeScript library for DynamoDB single-table designs with schema support and full type safety.
OneTable is a sophisticated API for Amazon DynamoDB that simplifies single-table design patterns. It provides a clean, high-level syntax for data access while retaining full control over the underlying DynamoDB API, making it easier to build scalable applications with complex data models. The library supports schema-driven design, TypeScript integration, and extended query capabilities.
Developers building scalable applications on AWS DynamoDB who want to implement single-table designs, especially those using TypeScript who need type-safe data access and schema management.
Developers choose OneTable because it abstracts the complexity of DynamoDB's single-table patterns with a schema-driven, type-safe API, while still allowing full access to native DynamoDB features. Its integration with TypeScript for automatic type generation and support for migrations via OneTable Migrate and CLI provide a comprehensive development experience.
DynamoDB access and management for one table designs with NodeJS
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically generates fully typed entities from schemas in TypeScript, ensuring compile-time validation and reducing runtime errors, as shown in the TypeScript integration examples.
Provides high-level methods like find, update, and delete with support for filters, conditions, and pagination, simplifying complex DynamoDB operations without sacrificing control.
Works with batch operations, transactions, secondary indexes (GSI/LSI), and includes administrative tools like table management and migrations via OneTable Migrate and CLI.
Includes intercept hooks, detailed logging, metrics collection, and integrations for better debugging and monitoring, improving the development workflow.
Defining and evolving schemas for single-table designs requires deep understanding of DynamoDB patterns, which can be a barrier and lead to errors if not planned carefully.
OneTable is designed specifically for AWS DynamoDB, making database migration difficult and locking you into AWS's ecosystem, with no support for other databases.
Adopting single-table patterns and mastering OneTable's API requires significant upfront learning, especially for developers new to DynamoDB's flexibility and quirks.