Choosing a backend API framework

This page summarizes the projects mentioned and recommended in the original post on /r/node

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • prime-nestjs

    A production-ready NestJS boilerplate using Typescript, Postgres, TypeORM, and Docker.

  • I've recently joined a new company where we would like to move from the currently existing solution that was developed by a contracting agency to an in-house one. The current solution was made with Nest.js through this template and spans 5 codebases for different APIs. I would imagine that the developers responsible for it were just given additional stuff for the past year and just decided to spin up a new environment for each feature.

  • Ts.ED

    :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!

  • Ts.ED - Controller-based (DI supporting) backend framework that seems to offer quite a lot (although I'm wary of it being quite close to Nest.js)

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

    Like Express, but for the future

  • HatTip - supports universal middleware and deployments, small & lightweight, seems promising

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

  • Also for DB connections, I've been looking into Drizzle ORM, as I've used Prisma in the past and loved it, but there's a huge overhead to remember with it, so with a new project I'm thinking it might be better without that overhead. Current DB of choice is Postgres and that's probably going to stay the same.

  • hono

    Web Framework built on Web Standards

  • Hono.js - lightweight, support modern deployments and a lot out of the box

  • feathers

    The API and real-time application framework

  • Feathers.js - fully fledged backend framework, with almost anything out of the box

  • tsoa

    Build OpenAPI-compliant REST APIs using TypeScript and Node

  • Currently i am using TSOA and loving it, it gives you automatic Open API specs and data validation based on typescript interfaces. I have used Nest on previous projects but I personally don't like the decorators hell that comes with Nest, and raw express/fastify are ok and easy to use but a pain in the ass on big projects to keep swagger, validations, interfaces and DTOs all in sync.

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

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts