Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Amazon Web Services
  3. dynamodb-onetable

dynamodb-onetable

MITTypeScriptv2.7.7

A high-level Node.js/TypeScript library for DynamoDB single-table designs with schema support and full type safety.

Visit WebsiteGitHubGitHub
717 stars113 forks0 contributors

What is dynamodb-onetable?

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.

Target Audience

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.

Value Proposition

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.

Overview

DynamoDB access and management for one table designs with NodeJS

Use Cases

Best For

  • Implementing single-table designs in DynamoDB with multiple entity types in one table.
  • Building TypeScript applications that require compile-time validation and fully typed entities from DynamoDB schemas.
  • Managing complex data models with transactions, batch operations, and secondary indexes (GSI/LSI) in DynamoDB.
  • Developing applications that need schema evolution and migrations for DynamoDB tables.
  • Creating scalable serverless applications on AWS that require efficient, structured access to DynamoDB with high-level query capabilities.
  • Teams needing developer tooling like intercept hooks, logging, metrics, and integrations for DynamoDB administration and monitoring.

Not Ideal For

  • Projects using traditional multi-table DynamoDB designs without a need for single-table patterns
  • Simple CRUD applications with basic DynamoDB operations that don't require complex queries or transactions
  • Teams not using TypeScript who won't leverage its automatic type generation and compile-time validation
  • Rapid prototyping scenarios where minimal setup and direct DynamoDB SDK usage are preferred over schema definition

Pros & Cons

Pros

Schema-Driven Type Safety

Automatically generates fully typed entities from schemas in TypeScript, ensuring compile-time validation and reducing runtime errors, as shown in the TypeScript integration examples.

Comprehensive Query API

Provides high-level methods like find, update, and delete with support for filters, conditions, and pagination, simplifying complex DynamoDB operations without sacrificing control.

Full DynamoDB Feature Support

Works with batch operations, transactions, secondary indexes (GSI/LSI), and includes administrative tools like table management and migrations via OneTable Migrate and CLI.

Enhanced Developer Tooling

Includes intercept hooks, detailed logging, metrics collection, and integrations for better debugging and monitoring, improving the development workflow.

Cons

Complex Schema Management

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.

Tight Coupling to DynamoDB

OneTable is designed specifically for AWS DynamoDB, making database migration difficult and locking you into AWS's ecosystem, with no support for other databases.

Steep Learning Curve

Adopting single-table patterns and mastering OneTable's API requires significant upfront learning, especially for developers new to DynamoDB's flexibility and quirks.

Frequently Asked Questions

Quick Stats

Stars717
Forks113
Contributors0
Open Issues18
Last commit9 months ago
CreatedSince 2021

Tags

#orm#database-orm#serverless#data-modeling#nosql#schema-validation#nodejs#typescript#aws#dynamodb

Built With

D
DynamoDB
T
TypeScript
N
Node.js

Links & Resources

Website

Included in

Amazon Web Services14.0k
Auto-fetched 1 day ago

Related Projects

confidantconfidant

Confidant: your secret keeper. https://lyft.github.io/confidant

Stars1,857
Forks107
Last commit1 year ago
dynamic-dynamodbdynamic-dynamodb

Dynamic DynamoDB provides auto scaling for AWS DynamoDB

Stars618
Forks119
Last commit5 years ago
aws-dynamodb-examplesaws-dynamodb-examples

DynamoDB Examples

Stars598
Forks239
Last commit12 days ago
dynamodb-titan-storage-backenddynamodb-titan-storage-backend

The Amazon DynamoDB Storage Backend for JanusGraph

Stars447
Forks95
Last commit4 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub