Why use express over JSON-server?

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

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Strapi

    🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript, 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 on top of TypeScript & JavaScript (ES6, ES7, ES8) 🚀

    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

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • 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