TypeScript API

Open-source TypeScript projects categorized as API

Top 23 TypeScript API Projects

  • GitHub repo react-query

    ⚛️ Hooks for fetching, caching and updating asynchronous data in React

    Project mention: So, do I really suck so much in React? Bad job interview experience | reddit.com/r/reactjs | 2021-06-16

    You might want to take a look at this library: react-query

  • GitHub repo SWR

    React Hooks library for remote data fetching

    Project mention: Seeking advice on passing API data around an application | reddit.com/r/react | 2021-06-09

    Currently I'm using Vercel's SWR custom hook to fetch the relevant end point from within each component.

  • GitHub repo learn-anything

    Organize world's knowledge, explore connections and curate learning paths

    Project mention: Ask HN: What is your current side-project? | news.ycombinator.com | 2021-06-01

    Recently it was mostly updating my wiki (https://github.com/nikitavoloboev/knowledge).

    Now, it's working on https://github.com/learn-anything/learn-anything and picking it up again.

  • GitHub repo Brain.js

    🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js

    Project mention: I had a neural network hallucinate over the bible - the text is the input to generate the visuals, and the audio is a mix between text to speech and autoencoder-based processing of gregorian chants | reddit.com/r/creativecoding | 2021-02-14

    I actually was digging around last night and found Brain.js, which seems to have abstracted some neural network algorithms into a nifty node ready environment to run either browser or server side, so I’m gonna play with that. Thanks for the inspiration!

  • GitHub repo Directus

    Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.

    Project mention: Headless CMS | reddit.com/r/cms | 2021-06-09
  • GitHub repo postgraphile

    Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!

    Project mention: v4.12.3 | reddit.com/r/PostGraphile | 2021-06-04
  • GitHub repo API Platform

    Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

    Project mention: I created a fullstack starter template for React, GraphQL, Typescript, and PostgreSQL projects | reddit.com/r/programming | 2021-06-04
  • GitHub repo TypeGraphQL

    Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

    Project mention: Schema-first or Code-first in GraphQL | dev.to | 2021-06-05

    But I think one is not better than the other. Nowadays there are several libraries that help you in the development of GraphQL Apis to give you a better experience. If you are working with TypeScript, I would recommend TypeGraphQL, it is a complete library that can help you with some difficulties you may have.

  • GitHub repo loopback-next

    LoopBack makes it easy to build modern API applications that require complex integrations.

  • GitHub repo nodejs-api-starter

    💥 Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.

    Project mention: Preparing a project, and a tehnologies stack | reddit.com/r/node | 2021-05-31

    (1) React + API monorepo VS (2) React + API as separate repositories

  • GitHub repo amplication

    Amplication is an open‑source development tool. It helps you develop quality Node.js applications without spending time on repetitive coding tasks.

    Project mention: I made a prisma boilerplate code generator for nestJS | reddit.com/r/typescript | 2021-06-09

    I watched a talk on a tool called Amplication literally 30 minutes ago, saw the title just now and genuinely thought it'd be a promo for that. If you're interested: https://github.com/amplication/amplication

  • GitHub repo mockoon

    Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.

    Project mention: Mock API in a Chrome extension | dev.to | 2021-04-30

    Mock is critical in the development nowadays. Web developer like us often use tools like Mockon, Node server, API platform, Service Worker(such as msw), etc.

  • GitHub repo rushstack

    Monorepo for tools developed by the Rush Stack community

    Project mention: JavaScript Monorepo Implemented by Lerna with Yarn Workspaces and Git Submodules | dev.to | 2020-11-21

    I've also investigated the Rushstack a bit, another monorepo implementation from Microsoft. It works best with pnpm and has many conceptual differences from Lerna. For me the most significant is it doesn't encourage root package.json, and they have their ideas on husky and pre-commit git hooks. Moreover its configs are somehow complicated, should be suitable for LARGE monorepos, in things like even detailed file permissions, I think.

  • GitHub repo vendure

    A headless GraphQL ecommerce framework for the modern web

    Project mention: Vendure – An open source e-commerce platform | reddit.com/r/CKsTechNews | 2021-05-19
  • GitHub repo ActionHero

    Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks

    Project mention: Using Typescript to create a Robust API between your frontend and backend | dev.to | 2021-05-19

    Two of the major components of the @grouparoo/core application are a Node.js API server and a React frontend. We use Actionhero as the API server, and Next.JS for our React site generator. As we develop the Grouparoo application, we are constantly adding new API endpoints and changing existing ones.

  • GitHub repo wa-automate-nodejs

    💬 🤖 The most advanced NodeJS WhatsApp library for chatbots with advanced features. Be sure to 🌟 this repository for updates!

    Project mention: Open source projects should run office hours | news.ycombinator.com | 2021-03-04

    You can use a platform like otechie. There people are required to put in their card details before starting a conversation. This is what I do with open-wa (https://github.com/open-wa/wa-automate-nodejs#support)

    Because I sell license keys to unlock features, it allows me to provide generalized support and quick bug fixes via the discord. If people need help with integration in their specific code base then that's when I ask them to go through the "consulting route" - if it's quick they use otechie. If it's more involved (1+ days) then we work out a contract arrangement.

    I hardly get any clients through these means but it does put a clear value on my time which results in the community appreciating the time and effort into the project and the real time support (via discord).

  • GitHub repo Traduora

    Ever® Traduora - Open-Source Translation Management Platform

  • GitHub repo foal

    Elegant and fully-featured Node.Js web framework based on TypeScript. :rocket:.

    Project mention: Node.js - Foal framework - version 2.0 release - JWT with cookies, stateless CSRF protection, JWT with RSA keys | reddit.com/r/typescript | 2021-04-13

    I'm the creator of Foal, so I'd be a bit biased to answer. But here are some comments from Foal users that might interest you: https://github.com/FoalTS/foal/issues/490.

  • GitHub repo notion-api-worker

    Notion as CMS with easy API access

    Project mention: how can i create a widget for notion? | reddit.com/r/Notion | 2021-04-20

    If you are looking to be able to synchronize an embedded widget with other content in Notion, it is possible to use the content of public Notion pages to adjust a widget's state. This however requires using an open-source, unofficial tool like notion-api-worker or notion-client.

  • GitHub repo trpc

    🧙‍♀️ End-to-end typesafe APIs made easy

    Project mention: DenoDB | news.ycombinator.com | 2021-06-17

    Prisma looks great as someone who lives in Typescript land. Have you been using it "in anger", are there any limitations you've run into that its worth keeping in mind? I'm going to give it a shot on my personal project. It was either that or tRPC with Zod:


    (Not quite solving the same issues, but in the ballpark)

  • GitHub repo node-pg-migrate

    Node.js database migration management for Postgresql

    Project mention: The Architecture of a One-Man SaaS | news.ycombinator.com | 2021-04-08

    You can use any normal DB migration tool. For k8s, I put the app's readiness probe to false, run the migrations and then toggle the probe back to true.

    Here are some migration libraries:

    Go - https://github.com/golang-migrate/migrate

    Node - https://github.com/salsita/node-pg-migrate

  • GitHub repo Pizzly

    The simplest, fastest way to integrate your app with an OAuth API 😋

    Project mention: Validate JWT token | reddit.com/r/reactjs | 2021-05-21
  • GitHub repo opentelemetry-js

    OpenTelemetry JavaScript Client

    Project mention: Setting up application monitoring for your Nodejs app in 20 mins with open source solution | dev.to | 2021-06-08

    SigNoz supports OpenTelemetry as the primary way for users to instrument their application. OpenTelemetry is a single, vendor-agnostic instrumentation library per language with support for both automatic and manual instrumentation. You don't need to worry about instrumentation in this tutorial. OpenTelemetry comes with all currently available instrumentation.

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). The latest post mention was on 2021-06-17.


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

Project Stars
1 react-query 20,717
2 SWR 17,551
3 learn-anything 13,093
4 Brain.js 12,030
5 Directus 11,242
6 postgraphile 10,370
7 API Platform 6,744
8 TypeGraphQL 6,363
9 loopback-next 3,680
10 nodejs-api-starter 3,219
11 amplication 3,033
12 mockoon 2,880
13 rushstack 2,756
14 vendure 2,361
15 ActionHero 2,222
16 wa-automate-nodejs 1,551
17 Traduora 1,515
18 foal 1,371
19 notion-api-worker 901
20 trpc 901
21 node-pg-migrate 889
22 Pizzly 857
23 opentelemetry-js 830