Building RESTful API's with Node. What's your approach?

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

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.io
featured
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.
www.influxdata.com
featured
  • nestjs-commander

    A module for using NestJS to build up CLI applications

  • I've used Express, Fastify, and NestJS for the most part. I almost exclusively work with NestJS now, as you can imagine. The fact that it has an opinionated structure for how to architect your application is something that drew me in to begin with. With almost every Nest application I can pick it up, scan the structure, and have a good idea of what's going to be happening at a very high level. It also has defined classes with specific roles. A guard will always be used for authentication, a pipe will always be for transformation and validation of request information, a filter will always be for error handling. The only one that doesn't have a "this is always for that" is an interceptor, which is pretty much your middleware of the Nest world. Logging, caching, response mapping, it can do it all. There's also using Nest for more than just web servers, as there's nest-commander (one of my packages) for CLI applications, and there's discord bot packages for Nest as well.

  • controller

    A simple controller design pattern for curveballjs

  • Optionally you can bring in the Controller, which makes it a tad more opinionated (1 controller per route, class methods are HTTP methods, which imho works really well for REST).

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

  • Tired of handling a tech stack with REST, SQL, Webpack and 1000 more?

    1 project | news.ycombinator.com | 4 May 2024
  • Express-zod-API – Zod based Node.js framework

    1 project | news.ycombinator.com | 17 Apr 2024
  • How to build a Discord Activity easily with Robo.js

    1 project | dev.to | 9 Apr 2024
  • Revived the promise made six years ago for Requests 3

    4 projects | dev.to | 2 Apr 2024
  • Support Happy Eyeballs Even with QUIC / HTTP3 in Python

    1 project | news.ycombinator.com | 24 Mar 2024