TypeScript Postgres

Open-source TypeScript projects categorized as Postgres

Top 23 TypeScript Postgre Projects

  • supabase

    The open source Firebase alternative.

  • Project mention: Mastering Real-Time Collaboration: Building Figma and Miro-Inspired Features with Supabase | dev.to | 2024-05-11

    Supabase is a backend as a service visual platform that allows you to create postgres DB with minimum code. Their documentation is so good that it feels like home and you can get your project online in no matter of time.

  • Grafana

    The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

  • Project mention: Grafana: From Dashboards to Centralized Observability | news.ycombinator.com | 2024-05-06
  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Prisma

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

  • Project mention: A Software Engineer's Tips and Tricks #1: Drizzle | dev.to | 2024-04-29

    In the world of software development, there are two kinds of developers: those who have never had to complain about ORMs and those who have actually used them. Whether it’s Django ORM for Python, Active Record for Ruby, GORM for Golang, Doctrine for PHP, or Prisma for TypeScript, a common issue persists: writing simple queries is straightforward, but constructing complex or optimized queries can take hours, if not days.

  • Hasura

    Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.

  • Project mention: Serious flaws in SQL – Edgar F. Codd (1990) | news.ycombinator.com | 2024-04-25

    > 2. ORMs do not hide SQL nastiness.

    This is certainly true!

    I mean: ORMs are now well known to "make the easy queries slightly more easy, while making intermediate queries really hard and complex queries impossible".

    I think the are of ORMs is over. It simply did not deliver.

    If a book on SQL is --say-- 100 pages, a book on Hibernate is 400 pages. So much to learn just to make the easy queries slightly easier to type? Just not worth it.

    I prefer jooq any day over ORMs. And dont get me started over what tools like Hasuna have to offer.

    There are also some languages (forgot the names) that are SQL-done-right. Select in the back, more type safe, more logic, more in the same steps as the query gets executed. These need to be adopted by PG and MySQL and we're good to go. (IMHO)

    https://www.jooq.org/

    https://hasura.io/

  • drizzle-orm

    Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅

  • Project mention: A Software Engineer's Tips and Tricks #1: Drizzle | dev.to | 2024-04-29

    Enter Drizzle, a lightweight typesafe ORM for TypeScript that comes with one promise: If you know SQL — you know Drizzle.

  • payload

    The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.

  • Project mention: Best way to build a modern back end and admin UI. No black magic | news.ycombinator.com | 2024-04-21
  • crystal

    🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more! (by graphile)

  • Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07

    I didn't see a v5 tag in order to know, and I have no idea what "utils/graphile" does for the project, but one will want to ensure they are aware of its licensing scheme https://github.com/graphile/crystal/blob/db8894c74eb0ec3fe96...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nhost

    The Open Source Firebase Alternative with GraphQL.

  • Project mention: Database Review: Top Five Missing Features from Database APIs | dev.to | 2023-09-14

    Hasura ❌ (technically yes with Nhost)

  • 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.

  • openblocks

    🔥 🔥 🔥 The Open Source Retool Alternative

  • Project mention: Why I'm skeptical of low-code | news.ycombinator.com | 2023-12-30
  • pglite

    Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno

  • Project mention: Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests | news.ycombinator.com | 2024-04-07

    Hey HN! For a few months, I've been building pgmock at work for our E2E and unit test suite. It emulates Postgres in WebAssembly and has full feature parity with production databases.

    The cool thing about it is that you don't need any external processes or proxies. If your platform can run WASM (Node.js, browser, etc.), it can probably run pgmock. Creating a new database with mock data is as simple as creating a JavaScript object.

    It's a bit different from the amazing pglite [1] (which inspired me to open-source pgmock in the first place). While pgmock runs an x86 emulator, pglite compiles a Postgres fork to native WASM directly and is hence much faster and more lightweight. However, it only supports single-user mode and a select few extensions, so you can't connect to it with normal Postgres clients (which is quite crucial for E2E testing).

    Theoretically, it could be modified to run any Docker image on WebAssembly platforms. Anything specific you'd like to see?

    Happy hacking!

    [1] https://github.com/electric-sql/pglite

  • slonik

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

  • Project mention: Sneakiest development trap: making easy easier... | dev.to | 2024-01-04

    And sometimes invest instead in learning a technology rather than hide it: for example slonik encourages you to write normal SQL queries by making SQL templating easier and safer. In turn, your IDE would be able to understand those queries and give you support based on the database schemas you actually have.

  • jitsu

    Jitsu is an open-source Segment alternative. Fully-scriptable data ingestion engine for modern data teams. Set-up a real-time data pipeline in minutes, not days

  • sqlchat

    Chat-based SQL Client and Editor for the next decade

  • Project mention: FLaNK Stack Weekly 12 February 2024 | dev.to | 2024-02-12
  • 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: Chrome Extension MV3 Template : Supabase Auth, Plasmo, Tailwinds CSS & Shadcn UI | dev.to | 2023-08-13
  • pgtyped

    pgTyped - Typesafe SQL in TypeScript

  • Project mention: Type-Safe Printf() in TypeScript | news.ycombinator.com | 2024-03-24

    There is an implementation of SQL that operates on a table shaped type, entirely at type level. For your amusement: https://github.com/codemix/ts-sql

    There are a bunch of more practical takes that codegen types from your database and generate types for your queries, eg: https://github.com/adelsz/pgtyped

    To me the second approach seems much more pragmatic because you don’t need to run a SQL parser in a fairly potato interpreter on every build

  • Keyv

    Simple key-value storage with support for multiple backends

  • database-lab-engine

    DBLab enables 🖖 database branching and ⚡️ thin cloning for any Postgres database and empowers DB testing in CI/CD. This optimizes database-related costs while improving time-to-market and software quality. Follow to stay updated.

  • Project mention: Pg_branch: Pre-alpha Postgres extension brings Neon-like branching | news.ycombinator.com | 2023-10-01

    Underlying DBLab Engine is FOSS (Apache 2.0), with API, CLI and UI https://github.com/postgres-ai/database-lab-engine

  • worker

    High performance Node.js/PostgreSQL job queue (also suitable for getting jobs generated by PostgreSQL triggers/functions out into a different work queue)

  • Project mention: Show HN: An SQS Alternative on Postgres | news.ycombinator.com | 2024-05-09

    People considering this project should also probably consider Graphile Worker[1] I've scaled Graphile Worker to 10m daily jobs just fine

    The behavior of this library is a bit different and in some ways a bit lower level. If you are using something like this, expect to get very intimate with it as you scale- a lot of times your custom workload would really benefit from a custom index and it's handy to understand how the underlying system works.

    [1] https://worker.graphile.org/

  • zws

    Shorten URLs using invisible spaces

  • Project mention: Creating an advanced search engine with PostgreSQL | news.ycombinator.com | 2023-07-12

    https://supabase.com/blog/openai-embeddings-postgres-vector

    https://supabase.com/blog/chatgpt-supabase-docs

  • node-pg-migrate

    Node.js database migration management for PostgreSQL

  • safeql

    Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.

  • Project mention: compile-time SQL validations and type generation in TypeScript & Node | /r/typescript | 2023-08-27

    Cool. How does this compare to SafeQL, PgTyped, and Postgres language server ?

  • 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 Postgres related posts

  • Build authenticated and paywall pages with Stripe and Xata

    3 projects | dev.to | 8 May 2024
  • Wasp x Supabase: Smokin’ Hot Full-Stack Combo 🌶️ 🔥

    8 projects | dev.to | 8 May 2024
  • How to get free Postgres

    1 project | dev.to | 24 Apr 2024
  • Creating a Pokémon guessing game using Supabase, Drizzle, and Next.js in just 2 hours!

    2 projects | dev.to | 23 Apr 2024
  • How To Make An Insanely Fast AI App (Supabase, LLAMA 3 and Groq)

    2 projects | dev.to | 23 Apr 2024
  • How I built a Markdown Rendered Blog using Supabase and Chakra UI

    2 projects | dev.to | 23 Apr 2024
  • I got #1 Product of the Day on Product Hunt without Spending a Dollar

    1 project | dev.to | 23 Apr 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 15 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

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

Project Stars
1 supabase 66,748
2 Grafana 60,624
3 Prisma 37,436
4 Hasura 30,851
5 drizzle-orm 20,089
6 payload 19,904
7 crystal 12,427
8 nhost 7,565
9 teable 7,010
10 openblocks 5,593
11 pglite 4,471
12 slonik 4,395
13 jitsu 3,872
14 sqlchat 3,765
15 supabase-js 2,844
16 pgtyped 2,816
17 Keyv 2,491
18 database-lab-engine 2,011
19 worker 1,679
20 zws 1,618
21 nextjs-openai-doc-search 1,501
22 node-pg-migrate 1,235
23 safeql 1,238

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com