Why use express over JSON-server?

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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Strapi

    ๐Ÿš€ Strapi is the leading open-source headless CMS. Itโ€™s 100% JavaScript/TypeScript, fully customizable and developer-first.

  • You're right, using express requires that you to write a lot of code to get the same functionality as json-server because express is library to build web servers, but it's more flexible and powerful than json-server, so express is quiet popular to build REST API with node, also you can search for more framework-like projects to build API with node.js like Nest.js, Feathers, Adonis or something more user-friendly like Strapi which give you a UI to define your API

  • Nest

    A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript ๐Ÿš€

  • You're right, using express requires that you to write a lot of code to get the same functionality as json-server because express is library to build web servers, but it's more flexible and powerful than json-server, so express is quiet popular to build REST API with node, also you can search for more framework-like projects to build API with node.js like Nest.js, Feathers, Adonis or something more user-friendly like Strapi which give you a UI to define your API

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

    The API and real-time application framework

  • You're right, using express requires that you to write a lot of code to get the same functionality as json-server because express is library to build web servers, but it's more flexible and powerful than json-server, so express is quiet popular to build REST API with node, also you can search for more framework-like projects to build API with node.js like Nest.js, Feathers, Adonis or something more user-friendly like Strapi which give you a UI to define your API

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