TypeScript Database

Open-source TypeScript projects categorized as Database

Top 23 TypeScript Database Projects

  1. supabase

    The open source Firebase alternative. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

    Project mention: Secure Your Next.js App: Email & Google Authentication with Supabase, PostgreSQL RLS, and Triggers - Part 2 | dev.to | 2025-03-14
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

    Project mention: 5 Must-Watch Tutorials to Build Your SaaS App in 2025 | dev.to | 2025-02-27

    The tutorial starts by creating a Next.js project and setting up Shadcn UI and Aceternity UI for premade front-end components, with TailwindCSS for styling. Next, you will use Prisma ORM to create data models and generate schemas for Neon's Postgres database. The tutorial also covers file uploads using Uploadcare, Clerk to handle authentication, and creating a billing system with Stripe that allows users to purchase different plans.

  4. TypeORM

    ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

    Project mention: Using OpenAPI to Automate API Integration With Rapyd's Payment Gateway | dev.to | 2025-03-11

    TypeORM as the ORM

  5. Sequelize

    Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

    Project mention: How To Secure APIs from SQL Injection Vulnerabilities | dev.to | 2025-03-19

    Object-Relational Mapping frameworks like Hibernate (Java), SQLAlchemy (Python), and Sequelize (Node.js) typically use parameterized queries by default and abstract direct SQL interaction. These frameworks help eliminate common developer errors that might otherwise introduce vulnerabilities.

  6. Directus

    The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

    Project mention: Why Do Developers Struggle with Low-Code? (6 Tools That Actually Help) | dev.to | 2025-02-27

    3. Directus (A No-Code/Low-Code Platform for Data-Driven Development)

  7. RxDB

    A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/

    Project mention: Show HN: Triplit – Open-source syncing database that runs on server and client | news.ycombinator.com | 2024-06-25

    Looks like it could be a more batteries-included/opinionated alternative to RxDB (https://rxdb.info). The relational queries might help some people who tend to think in SQL as opposed to documents (as in CouchDB or MongoDB) and the WebSockets for synchronization will help people get started more quickly. (RxDB provides interfaces for those who want to implement their own storage engine and/or synchronization backend.)

  8. beekeeper-studio

    Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more. Linux, MacOS, and Windows.

    Project mention: Ask HN: Who is hiring? (January 2025) | news.ycombinator.com | 2025-01-02

    https://github.com/beekeeper-studio/beekeeper-studio

    I need remote part/full time folks to help with the following:

    Marketing / Growth

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. teable

    ✨ The Next Gen Airtable Alternative: No-Code Postgres

    Project mention: Show HN: I just made my profitable online form builder open-sourced | news.ycombinator.com | 2024-04-01

    I use nestjs in my open source no-code database https://github.com/teableio/teable, and I really like it, especially the dependency injection capability.

  11. Redis

    🚀 A robust, performance-focused, and full-featured Redis client for Node.js.

    Project mention: Building a Scalable URL Shortener with Node.js (Part 1/2) | dev.to | 2024-11-08

    ioredis: A client for interacting with Redis.

  12. chartdb

    Database diagrams editor that allows you to visualize and design your DB with a single query.

    Project mention: 8 Modern Dev Tools to 100X Your Productivity | dev.to | 2025-01-13

    🌍 Try it here: https://chartdb.io

  13. kysely

    A type-safe typescript SQL query builder

    Project mention: Composable SQL (Functors) | news.ycombinator.com | 2025-01-29
  14. MongoDB

    The official MongoDB Node.js driver

    Project mention: What's New in F# 9 | news.ycombinator.com | 2024-11-10

    I mean, this really depends on what you're looking at.

    Here's a sample from the MongoDB client: https://github.com/mongodb/node-mongodb-native/blob/main/src...

    Here's a sample from Storybook: https://github.com/storybookjs/storybook/blob/next/code/core...

    Here's a sample from Prisma: https://github.com/prisma/prisma/blob/main/packages/client/s...

    Here's a sample from Cal.com: https://github.com/calcom/cal.com/blob/main/packages/core/Ev...

    It's rather the specific use case that determines the style of the code that's written. In the examples above, there's no need for the teams to choose JavaScript classes and inheritance to model the logic, yet it likely better fits the programming model of those modules.

    Look at Nest.js as well: https://github.com/nestjs/nest/blob/master/packages/core/rou...

    The whole codebase of Nest.js looks an aweful lot like Spring or ASP.NET (controller syntax) probably because there's a lot of crossover in terms of what APIs need at scale.

    It just so happens that most use cases for C# and Java favor applications at a larger scale. Another key difference being object scope and lifecycles -- something that rarely comes into play in the generally single-threaded Node runtime. This being one of the key reasons why dependency injection is a thing in C# and Java land.

  15. nhost

    The Open Source Firebase Alternative with GraphQL.

  16. MikroORM

    TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.

    Project mention: Show HN: DBOS TypeScript – Lightweight Durable Execution Built on Postgres | news.ycombinator.com | 2025-01-16
  17. grist-core

    Grist is the evolution of spreadsheets.

    Project mention: French gov's open source alternative to Notion or Outline | news.ycombinator.com | 2025-03-16

    Yes, there are lots of PR listed here : https://github.com/gristlabs/grist-core/pulls?q=is%3Apr+labe...

  18. slonik

    A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

    Project mention: Sqlc: Compile SQL to type-safe code | news.ycombinator.com | 2024-09-08

    Didn’t use myself, but AFAIK slonik library is doing what you’ve described: https://github.com/gajus/slonik

  19. sqlectron-gui

    A simple and lightweight SQL client desktop with cross database and platform support.

    Project mention: The Home Server Journey - 5: Rebuilding Burned Bridges | dev.to | 2024-09-29

    The problem is that the connection string defined, which follows the format postgres://:@/, is referencing a user and a database that don't exist (I wouldn't use the administrator account for a simple bot). So let's fix that by logging as the main user into the DBMS with a PostgreSQL-compatible client of your choice. Here I'm using SQLectron:

  20. vuefire

    🔥 Firebase bindings for Vue.js

  21. liveblocks

    The best apps in the AI era aren’t solo experiences—they’re collaborative. Liveblocks provides customizable pre‑built features to make your product multiplayer, engaging, and AI‑ready. All without derailing your roadmap.

    Project mention: Multi-player Mode is Everywhere, Even in Dev Tools | dev.to | 2024-12-30

    Of course, you don’t have to code this functionality from scratch! You can also look at open-source software like Yjs, text-crdt, Automerge and so many more. Alternatively, you can check out tools like Liveblocks, Ably, etc. which enable collaborative multi-player features.

  22. cloudbeaver

    Cloud Database Manager

    Project mention: How to Evaluate and Choose the Best Database Management Tool for PostgreSQL in 2025 | dev.to | 2024-10-17

    DBeaver

  23. nestjs-boilerplate

    NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker.

    Project mention: Mastering CRUD with NextJS | dev.to | 2024-12-05

    By following the examples and techniques outlined in this article, you should now be well-equipped to handle CRUD operations in your NextJS projects. Alternatively, you can use our Extensive-react-boilerplate template for your project. It has a fully compatible Nestjs-boilerplate backend that implements the ability to work with CRUD operations in minutes, without a single line of code using the CLI, we've covered this in more detail here and here for entity relationships. Keep experimenting, stay updated with best practices, and welcome to try this boilerplate if you find it useful.

  24. supabase-js

    An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector.

    Project mention: Supabase Python | dev.to | 2024-08-30

    supabase-py was originally started by maintainer lqmanh in September of 2020, and was shortly after joined by fedden and J0 (who went on to become a full time member of the Supabase Team). In recent years development has been driven by silentworks and juancarlospaco who have both been instrumental in the push to reaching feature parity with supabase-js.

  25. express-typescript-boilerplate

    A delightful way to building a RESTful API with NodeJs & TypeScript by @w3tecch

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript Database discussion

Log in or Post with

TypeScript Database related posts

  • Manifest: A 1-file micro-back end

    1 project | news.ycombinator.com | 18 Mar 2025
  • What is NoDB?

    3 projects | dev.to | 13 Mar 2025
  • Introducing Dengo: MongoDB API for Deno KV

    1 project | dev.to | 12 Mar 2025
  • Let's Develop a Fullstack Blogging CMS from Scratch using React.js and Node.js

    2 projects | dev.to | 4 Mar 2025
  • Show HN: Zero-code database for AI and modern apps

    1 project | news.ycombinator.com | 2 Mar 2025
  • Why I Ditched Electron for Tauri

    1 project | dev.to | 26 Feb 2025
  • Directus – real-time REST and GraphQL API of any SQL database

    6 projects | news.ycombinator.com | 23 Feb 2025
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 19 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Database projects in TypeScript? This list will help you:

# Project Stars
1 supabase 79,052
2 Prisma 41,549
3 TypeORM 35,054
4 Sequelize 29,850
5 Directus 29,524
6 RxDB 22,126
7 beekeeper-studio 17,708
8 teable 17,032
9 Redis 14,664
10 chartdb 14,339
11 kysely 11,532
12 MongoDB 10,105
13 nhost 8,191
14 MikroORM 8,117
15 grist-core 8,057
16 slonik 4,678
17 sqlectron-gui 4,605
18 vuefire 3,886
19 liveblocks 3,809
20 cloudbeaver 3,745
21 nestjs-boilerplate 3,556
22 supabase-js 3,494
23 express-typescript-boilerplate 3,337

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?