18 dépôts
Standardized interfaces for decoupling application logic from specific database engines.
Distinguishing note: Focuses on the adapter pattern for storage, distinct from general database drivers.
Explore 18 awesome GitHub repositories matching data & databases · Database Adapters. Refine with filters or upvote what's useful.
Payload is a headless content management system and application framework that uses a code-first approach to define data schemas and administrative interfaces. By utilizing a centralized, type-safe configuration object, it automatically generates database schemas, API endpoints, and a fully customizable admin panel. The system is built on a database-agnostic architecture, allowing it to interface with various storage engines while providing a unified, type-safe API for server-side operations, REST, and GraphQL. What distinguishes Payload is its deep extensibility and developer-centric design.
Decouples core application logic from specific database engines using a standardized storage interface.
Next-auth is an authentication and identity management library for web frameworks. It provides a unified system for handling user sign-in and session state across server and client environments, functioning as a session management framework and an OIDC authentication library. The project distinguishes itself through a provider-based identity abstraction that supports multiple authentication methods, including OAuth, email magic links, traditional credentials, and passwordless passkeys. It allows for the registration of custom OAuth or OIDC compliant providers and offers tools to define branda
Implements a pluggable adapter system to decouple authentication data from specific database engines and ORMs.
RethinkDB is a distributed, document-oriented database designed to store and manage JSON-formatted data across scalable clusters. It utilizes a custom log-structured storage engine with B-Tree indexing to ensure high-performance disk I/O and data persistence. The system maintains high availability through automatic sharding and replication, employing a primary-replica voting consensus mechanism to handle node failures and ensure consistent cluster operations. A defining characteristic of the platform is its reactive changefeed engine, which allows applications to subscribe to live data update
Provides adapters and integration layers to connect application logic with persistent database storage systems.
This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d
Adapts SQLite interfaces to work with various platform-specific libraries through a unified adapter.
This project is a TypeScript-based architectural framework designed to implement domain-driven design and hexagonal architecture in enterprise applications. It provides a structured boilerplate that isolates core business logic from infrastructure concerns, ensuring that domain entities, use cases, and external technology adapters remain decoupled and maintainable. The framework distinguishes itself by enforcing strict architectural boundaries and dependency inversion, preventing unauthorized access to core logic from external layers. It utilizes a command-query responsibility segregation pat
Provides standardized interfaces for decoupling application logic from specific database engines and external services.
Debezium is a distributed change data capture platform that streams row-level database modifications as real-time events. By parsing database transaction logs, the system broadcasts structural and data changes to message brokers, enabling reactive processing and data integration across distributed architectures. The platform utilizes log-based capture to extract modifications directly from transaction logs, ensuring minimal impact on source system performance while maintaining the original commit order of operations. It employs database-specific connector adapters to translate proprietary bin
Uses modular adapters to translate proprietary database log formats into a unified event structure.
Keystone is a GraphQL headless content management system and Node.js backend framework. It functions as a schema-driven data manager that automatically generates a GraphQL API and a React administrative dashboard based on a central data model configuration. The system uses an adapter-based database abstraction to decouple core logic from storage layers and a storage-provider abstraction for managing media assets via local or cloud drivers. It distinguishes itself through a component-based field rendering system and a hook-based middleware pipeline for data validation and automation. The fram
Implements an adapter pattern to decouple core logic from specific database engines.
Mikro-ORM is a TypeScript-based object-relational mapping system that provides a unified persistence layer for Node.js applications. It translates TypeScript entities into relational or document-based database schemas, supporting a variety of engines including PostgreSQL, MySQL, MariaDB, MS SQL Server, SQLite, and MongoDB. The project implements the data mapper pattern to decouple in-memory domain models from the database persistence layer. It utilizes a unit of work pattern to track entity changes in memory and commit them in a single coordinated database transaction. The library covers com
Implements a standardized adapter layer to decouple application logic from multiple supported database engines.
AdminJS is a Node.js admin panel and database management UI that provides a visual interface for performing create, read, update, and delete operations based on existing database models. It functions as a low-code backend dashboard and internal tool builder, allowing developers to create management interfaces for monitoring and controlling application state without writing custom frontend code. The project enables the creation of custom business logic workflows and system dashboards, providing non-technical team members with a secure way to manage application data. It supports the development
Provides standardized interfaces that decouple the admin UI from specific database engines.
Ecto is an Elixir database toolkit that maps database rows to Elixir structs and validates data changes through changesets before persistence. It provides a language-integrated query syntax for composing database queries, building them incrementally and securely with compile-time expansion into safe SQL. The toolkit connects to multiple database backends including PostgreSQL, MySQL, MSSQL, SQLite3, ClickHouse, and ETS through a pluggable adapter interface. It supports eager and lazy preloading of associated records to eliminate N+1 query problems, and can store nested data structures as embed
Connects to multiple database backends through a pluggable adapter interface.
Moleculer is a Node.js microservices framework designed for building distributed systems. It functions as a distributed service broker, task orchestrator, and service mesh framework, enabling a decentralized architecture with built-in service discovery and load balancing. The project differentiates itself through a pluggable transport layer supporting protocols such as NATS, Redis, TCP, and Kafka, as well as a dedicated microservices API gateway that maps external HTTP and WebSocket requests to internal service actions. It includes built-in fault tolerance mechanisms, including circuit breake
Provides standardized interfaces to decouple service logic from specific database engines like MongoDB, SQL, and CouchDB.
CanCan est une bibliothèque d'autorisation pour les applications Ruby on Rails qui fournit un framework déclaratif pour définir les permissions utilisateur. Il fonctionne comme un système de contrôle d'accès basé sur les rôles qui découple la logique de sécurité des contrôleurs en centralisant toutes les définitions de capacités dans un emplacement unique. La bibliothèque se distingue par la traduction des règles de permission en filtres pilotés par base de données. Cela permet au système de récupérer uniquement les enregistrements spécifiques qu'un utilisateur est autorisé à voir en fonction des conditions d'attribut et des portées définies, plutôt que de vérifier les permissions après que les données ont été chargées. Le framework couvre l'application de l'autorisation via le chargement automatisé des ressources et des vérifications de permission obligatoires. Il inclut des mécanismes pour gérer la priorité des permissions, résoudre les fournisseurs de capacités personnalisés et gérer les exceptions d'accès refusé globalement pour déclencher des redirections ou des messages d'erreur.
Connects authorization logic to various database object mappers for consistent permission checks.
Harlequin is a terminal-based SQL IDE that runs queries against DuckDB and SQLite databases, with a plug-in adapter system for connecting to additional database engines. It provides a full-screen text editor with syntax highlighting and fuzzy autocomplete for writing SQL, and displays query results in a scrollable table within the terminal. The application distinguishes itself through a tree-based data catalog that lets you browse database schemas, local files, and remote S3 objects, with the ability to insert or copy paths directly into the query editor. It supports custom key bindings throu
Provides a plug-in adapter system for connecting to multiple database engines from a terminal SQL IDE.
Seek-Tune is an audio fingerprinting library that implements a Shazam-like algorithm for identifying songs from audio recordings. It generates acoustic fingerprints from audio signals and matches them against a known database to recognize songs. The library converts audio into a time-frequency spectrogram using FFT-based frequency analysis, then extracts peak points to create compact, unique fingerprints for each song. It uses combinatorial hashing to combine nearby peak pairs into hash values with time offsets, enabling efficient database lookup and matching through a peak-pair matching algo
Provides a pluggable adapter interface for storing fingerprints in multiple database backends.
Waterline est une bibliothèque de base de données basée sur des adaptateurs et un ORM (Object Relational Mapper) pour Node.js. Il sert de couche de persistance multi-base de données qui traduit les appels de méthodes standards en requêtes spécifiques pour les bases de données SQL et NoSQL. La bibliothèque fournit une interface unifiée pour gérer les données à travers différents stockages, notamment MySQL, PostgreSQL, MongoDB et Microsoft SQL Server. Cette architecture permet l'intégration de plusieurs backends de base de données au sein d'une même application et facilite la migration entre fournisseurs de bases de données en changeant simplement d'adaptateur sans modifier la logique métier. Le projet couvre le mapping relationnel et documentaire, offrant une syntaxe cohérente pour stocker et récupérer des données. Il utilise un mapping d'objets basé sur un schéma pour faire le pont entre les tables ou collections de base de données et les objets JavaScript.
Functions as a persistence layer using standardized interfaces to decouple application logic from specific database engines.
Phinx est un outil de migration et de versionnage de base de données PHP utilisé pour suivre et déployer des changements structurels sur les schémas de base de données à travers différents environnements. Il fonctionne comme un système de contrôle de version pour les bases de données, permettant aux modifications structurelles d'être définies et gérées via du code PHP. L'outil fournit des mécanismes pour le versionnage et le rollback de schéma de base de données, permettant aux utilisateurs d'annuler des migrations précédemment appliquées et de restaurer une base de données à un état précédent spécifique. De plus, il inclut un seeder de base de données pour peupler les tables avec des enregistrements de base initiaux ou des données fictives. Le système fonctionne comme une interface en ligne de commande autonome qui gère l'exécution séquentielle des migrations et suit la version actuelle du schéma via une table de métadonnées au sein de la base de données cible.
Provides standardized interfaces to decouple migration logic from specific database engines.
Ce projet est une implémentation de référence et un boilerplate pour gérer l'authentification des utilisateurs et l'état de session au sein du framework Next.js. Il sert d'exemple pratique sur la façon d'intégrer NextAuth.js pour protéger les routes et gérer la vérification d'identité. Le dépôt démontre plusieurs flux de travail d'authentification, notamment l'intégration d'identité OAuth avec des fournisseurs tiers, l'authentification sans mot de passe utilisant des liens magiques par e-mail, et la connexion traditionnelle basée sur les identifiants. Il montre spécifiquement comment remplacer les écrans d'authentification par défaut par des pages de connexion personnalisées à la marque. L'implémentation couvre un large éventail de capacités, notamment la persistance de session en base de données via des adaptateurs, la rotation des jetons d'accès et l'utilisation de variables d'environnement pour la configuration des fournisseurs. Il inclut également des exemples de liaison de plusieurs méthodes d'authentification à un seul profil utilisateur et d'intégration d'outils d'observabilité pour journaliser les événements d'authentification.
Uses standardized adapter interfaces to decouple authentication logic from specific database engines.
pg-boss is a background task scheduler and distributed task queue that uses PostgreSQL as a reliable message broker for asynchronous job processing. It provides a system for distributing work across multiple application instances, ensuring exactly-once delivery through atomic database transactions. The project includes a cron job scheduler for automating recurring tasks and a PostgreSQL pub-sub system for fan-out event distribution. It also features a web-based management dashboard for monitoring queue statistics and controlling job lifecycles, including manual retries and cancellations. Cap
Includes adjustable fetch and mutation strategies to maintain compatibility across database engines.