Software Alternatives & Reviews

JSON Server VS GraphQL

Compare JSON Server VS GraphQL and see what are their differences

JSON Server logo JSON Server

Get a full fake REST API with zero coding in less than 30 seconds. For front-end developers who need a quick back-end for prototyping and mocking

GraphQL logo GraphQL

GraphQL is a data query language and runtime to request and deliver data to mobile and web apps.
  • JSON Server Landing page
    Landing page //
    2023-08-01
  • GraphQL Landing page
    Landing page //
    2023-08-01

JSON Server videos

Angular CRUD with Web API Tutorial Part #3 - Setup Local JSON Server and Mock API Endpoints

GraphQL videos

REST vs. GraphQL: Critical Look

More videos:

  • Review - REST vs GraphQL - What's the best kind of API?
  • Review - What Is GraphQL?

Category Popularity

0-100% (relative to JSON Server and GraphQL)
Development
100 100%
0% 0
Developer Tools
16 16%
84% 84
API Tools
100 100%
0% 0
Javascript UI Libraries
0 0%
100% 100

User comments

Share your experience with using JSON Server and GraphQL. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, GraphQL should be more popular than JSON Server. It has been mentiond 223 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

JSON Server mentions (44)

  • Full Stack To Do list, a step-by-step tutorial
    Our backend will be little more than a two-way translation layer between the database and the user interface (UI). Later in this post we will identify other responsibilities of a backend but our implementation will be kept simple to demonstrate the fundamental machinery and concepts. It is worth noting the backend comes in two parts, web server and application server. Both json-server and Express are able to... - Source: dev.to / 10 months ago
  • Improve Frontend-Backend development harmony with JSON-Server
    JSON-Server creates fake REST API with a minimum amount of configuration, it provides a simple way to create mock RESTful APIs and easily define the required endpoints, allows easy definition of the data schema in a JSON file and can serve as a reference for each figure in the project. - Source: dev.to / 11 months ago
  • Dictionary app
    I thought about usingJson Server (hosting the repo with the words on Github to begin with), Googlesheets, or maybe Firestore (i would prefer not to use it ,to avoid extra costs just in case it gets a reasonable amount of users). It isnt a big app so I just want a simple solution for storing the words and fetching them. Source: 11 months ago
  • Playwright - Not just for Frontend
    First, I didn't create a backend API for this example, but I used a fake API to test. I created it with json-server and json-server-auth. They are two npm packages that use a JSON file as a database and expose the database in an API. You can find more about json-server in its documentation and about json-server-auth here. - Source: dev.to / about 1 year ago
  • Is there any JSONPlaceholder variant that is free and makes persistent changes in the simulated JSON database? I want to simulate a MongoDB database with it and be able to have persistent changes during my frontend application's presentation.
    You can use json-server which is the technology used by JSONPlaceholder. It is totally free, but not in cloud, you have to run it locally. Every changes is stored in a JSON file. Source: over 1 year ago
View more

GraphQL mentions (223)

  • Building Scalable GraphQL Microservices With Node.js and Docker: A Comprehensive Guide
    GraphQL is a query language and runtime for APIs. It provides a flexible and efficient way for clients to request and retrieve specific data from a server using a single API endpoint. - Source: dev.to / 23 days ago
  • Type-Safe Fetch with Next.js, Strapi, and OpenAPI
    When you use technologies like GraphQL, it is trivial to derive TypeScript types. A GraphQL API is created by implementing a schema. Generating the TypeScript type definitions from this schema is simple, and you do not have to do any more work than just making the GraphQL API. This is one reason why I like GraphQL so much. - Source: dev.to / about 1 month ago
  • REST vs. GraphQL: A Detailed Comparison of API Architectures for Developers
    REST and GraphQL have advantages, drawbacks, and use cases for different environments. REST is for simple logic and a more structured architecture, while GraphQL is for a more tailored response and flexible request. - Source: dev.to / about 1 month ago
  • Gatsby tutorial: Build a static site with a headless CMS
    A Gatsby site uses Gatsby, which leverages React and GraphQL to create fast and optimized web experiences. Gatsby is often used for building static websites, progressive web apps (PWAs), and even full-blown dynamic web applications. - Source: dev.to / about 1 month ago
  • Rust GraphQL APIs for NodeJS Developers: Introduction
    In my usual NodeJS tech stack, which includes GraphQL, NestJS, SQL (predominantly PostgreSQL with MikroORM), I encountered these limitations. To overcome them, I've developed a new stack utilizing Rust, which still offers some ease of development:. - Source: dev.to / 7 months ago
View more

What are some alternatives?

When comparing JSON Server and GraphQL, you can also consider the following products

JSON Placeholder - JSON Placeholder is a modern platform that provides you online REST API, which you can instantly use whenever you need any fake data.

gRPC - Application and Data, Languages & Frameworks, Remote Procedure Call (RPC), and Service Discovery

ReqRes - A hosted REST-API ready to respond to your AJAX requests.

Next.js - A small framework for server-rendered universal JavaScript apps

Postman - The Collaboration Platform for API Development

React - A JavaScript library for building user interfaces