Alternatives to JSON Server logo

Alternatives to JSON Server

MongoDB, JSON, Firebase, Mirage, and Postman are the most popular alternatives and competitors to JSON Server.
131
187
+ 1
7

What is JSON Server and what are its top alternatives?

JSON Server is a lightweight and simple tool that allows developers to quickly create a REST API using a JSON file as a backend. It is easy to set up and perfect for prototyping, mocking, and testing APIs. However, JSON Server has limitations such as not being suitable for production environments, lack of advanced features like authentication, and limited performance capabilities.

  1. MirageJS: MirageJS is a client-side server to help you build, test, and share JavaScript applications. It allows for defining endpoints, generating data, and handling data relationships efficiently. Pros include advanced features like authentication and relationships, while cons can be a steeper learning curve compared to JSON Server.
  2. Fastify: Fastify is a fast and low overhead web framework for Node.js. It offers a plugin architecture, schema-based validation, and high performance. Pros include speed and scalability, while cons may be the initial setup complexity compared to JSON Server.
  3. Lowdb: Lowdb is a small local database powered by Lodash. It allows you to persist data with JSON files and includes features like querying, filtering, and updating data easily. Pros include simplicity and ease of use, while cons could be limited scalability for larger applications.
  4. Faker.js: Faker.js is a library for generating fake data such as names, addresses, dates, text, and more. It can be used alongside JSON Server to populate your API with realistic test data. Pros include extensive data generation capabilities, while cons may be the need for additional setup alongside JSON Server.
  5. json-server-auth: json-server-auth is a simple authentication method for JSON Server, allowing you to protect your APIs with basic username and password credentials. Pros include easy integration with JSON Server, while cons could be limited authentication options compared to more robust solutions.
  6. Xumm: Xumm is an API platform for building and deploying digital assets on the XRP Ledger. It offers features like wallet management, payment processing, and token issuance. Pros include blockchain integration and security, while cons may be the complexity of blockchain technology compared to JSON Server.
  7. json-server-dynamic-payloads: json-server-dynamic-payloads is a plugin for JSON Server that allows you to dynamically generate responses based on the request parameters. Pros include flexible response customization, while cons could be added complexity in handling dynamic payloads.
  8. Mockoon: Mockoon is a desktop application for mocking APIs quickly and dynamically. It offers features like middleware support, proxy mode, and response templating. Pros include an intuitive user interface and real-time editing capabilities, while cons may be limited compared to JSON Server in terms of backend functionality.
  9. Postman: Postman is an API development platform that offers features for designing, testing, and monitoring APIs. It includes tools for collaboration, documentation, and automation. Pros include a comprehensive set of API testing features, while cons could be the complexity of the interface compared to JSON Server for simple API setups.
  10. WireMock: WireMock is a flexible tool for stubbing and mocking HTTP services. It allows for creating custom responses, setting response delays, and verifying requests. Pros include extensive customization options, while cons may be a steeper learning curve compared to JSON Server's simplicity.

Top Alternatives to JSON Server

  • MongoDB
    MongoDB

    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding. ...

  • JSON
    JSON

    JavaScript Object Notation is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language. ...

  • Firebase
    Firebase

    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds. ...

  • Mirage
    Mirage

    The Elasticsearch query DSL supports 100+ query APIs ranging from full-text search, numeric range filters, geolocation queries to nested and span queries. Mirage is a modern, open-source web based query explorer for Elasticsearch. ...

  • Postman
    Postman

    It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide. ...

  • Insomnia REST Client
    Insomnia REST Client

    Insomnia is a powerful REST API Client with cookie management, environment variables, code generation, and authentication for Mac, Window, and Linux. ...

  • OpenAPI
    OpenAPI

    It is a publicly available application programming interface that provides developers with programmatic access to a proprietary software application or web service. ...

  • Retrofit
    Retrofit

    Retrofit turns your HTTP API into a Java interface

JSON Server alternatives & related posts

MongoDB logo

MongoDB

91.5K
79K
4.1K
The database for giant ideas
91.5K
79K
+ 1
4.1K
PROS OF MONGODB
  • 827
    Document-oriented storage
  • 593
    No sql
  • 553
    Ease of use
  • 464
    Fast
  • 410
    High performance
  • 257
    Free
  • 218
    Open source
  • 180
    Flexible
  • 145
    Replication & high availability
  • 112
    Easy to maintain
  • 42
    Querying
  • 39
    Easy scalability
  • 38
    Auto-sharding
  • 37
    High availability
  • 31
    Map/reduce
  • 27
    Document database
  • 25
    Easy setup
  • 25
    Full index support
  • 16
    Reliable
  • 15
    Fast in-place updates
  • 14
    Agile programming, flexible, fast
  • 12
    No database migrations
  • 8
    Easy integration with Node.Js
  • 8
    Enterprise
  • 6
    Enterprise Support
  • 5
    Great NoSQL DB
  • 4
    Support for many languages through different drivers
  • 3
    Drivers support is good
  • 3
    Aggregation Framework
  • 3
    Schemaless
  • 2
    Fast
  • 2
    Managed service
  • 2
    Easy to Scale
  • 2
    Awesome
  • 2
    Consistent
  • 1
    Good GUI
  • 1
    Acid Compliant
CONS OF MONGODB
  • 6
    Very slowly for connected models that require joins
  • 3
    Not acid compliant
  • 1
    Proprietary query language

related MongoDB posts

Jeyabalaji Subramanian

Recently we were looking at a few robust and cost-effective ways of replicating the data that resides in our production MongoDB to a PostgreSQL database for data warehousing and business intelligence.

We set ourselves the following criteria for the optimal tool that would do this job: - The data replication must be near real-time, yet it should NOT impact the production database - The data replication must be horizontally scalable (based on the load), asynchronous & crash-resilient

Based on the above criteria, we selected the following tools to perform the end to end data replication:

We chose MongoDB Stitch for picking up the changes in the source database. It is the serverless platform from MongoDB. One of the services offered by MongoDB Stitch is Stitch Triggers. Using stitch triggers, you can execute a serverless function (in Node.js) in real time in response to changes in the database. When there are a lot of database changes, Stitch automatically "feeds forward" these changes through an asynchronous queue.

We chose Amazon SQS as the pipe / message backbone for communicating the changes from MongoDB to our own replication service. Interestingly enough, MongoDB stitch offers integration with AWS services.

In the Node.js function, we wrote minimal functionality to communicate the database changes (insert / update / delete / replace) to Amazon SQS.

Next we wrote a minimal micro-service in Python to listen to the message events on SQS, pickup the data payload & mirror the DB changes on to the target Data warehouse. We implemented source data to target data translation by modelling target table structures through SQLAlchemy . We deployed this micro-service as AWS Lambda with Zappa. With Zappa, deploying your services as event-driven & horizontally scalable Lambda service is dumb-easy.

In the end, we got to implement a highly scalable near realtime Change Data Replication service that "works" and deployed to production in a matter of few days!

See more
Robert Zuber

We use MongoDB as our primary #datastore. Mongo's approach to replica sets enables some fantastic patterns for operations like maintenance, backups, and #ETL.

As we pull #microservices from our #monolith, we are taking the opportunity to build them with their own datastores using PostgreSQL. We also use Redis to cache data we’d never store permanently, and to rate-limit our requests to partners’ APIs (like GitHub).

When we’re dealing with large blobs of immutable data (logs, artifacts, and test results), we store them in Amazon S3. We handle any side-effects of S3’s eventual consistency model within our own code. This ensures that we deal with user requests correctly while writes are in process.

See more
JSON logo

JSON

1.9K
1.6K
9
A lightweight data-interchange format
1.9K
1.6K
+ 1
9
PROS OF JSON
  • 5
    Simple
  • 4
    Widely supported
CONS OF JSON
    Be the first to leave a con

    related JSON posts

    Ali Soueidan
    Creative Web Developer at Ali Soueidan · | 18 upvotes · 1.2M views

    Application and Data: Since my personal website ( https://alisoueidan.com ) is a SPA I've chosen to use Vue.js, as a framework to create it. After a short skeptical phase I immediately felt in love with the single file component concept! I also used vuex for state management, which makes working with several components, which are communicating with each other even more fun and convenient to use. Of course, using Vue requires using JavaScript as well, since it is the basis of it.

    For markup and style, I used Pug and Sass, since they’re the perfect match to me. I love the clean and strict syntax of both of them and even more that their structure is almost similar. Also, both of them come with an expanded functionality such as mixins, loops and so on related to their “siblings” (HTML and CSS). Both of them require nesting and prevent untidy code, which can be a huge advantage when working in teams. I used JSON to store data (since the data quantity on my website is moderate) – JSON works also good in combo with Pug, using for loops, based on the JSON Objects for example.

    To send my contact form I used PHP, since sending emails using PHP is still relatively convenient, simple and easy done.

    DevOps: Of course, I used Git to do my version management (which I even do in smaller projects like my website just have an additional backup of my code). On top of that I used GitHub since it now supports private repository for free accounts (which I am using for my own). I use Babel to use ES6 functionality such as arrow functions and so on, and still don’t losing cross browser compatibility.

    Side note: I used npm for package management. 🎉

    *Business Tools: * I use Asana to organize my project. This is a big advantage to me, even if I work alone, since “private” projects can get interrupted for some time. By using Asana I still know (even after month of not touching a project) what I’ve done, on which task I was at last working on and what still is to do. Working in Teams (for enterprise I’d take on Jira instead) of course Asana is a Tool which I really love to use as well. All the graphics on my website are SVG which I have created with Adobe Illustrator and adjusted within the SVG code or by using JavaScript or CSS (SASS).

    See more

    I use Visual Studio Code because at this time is a mature software and I can do practically everything using it.

    • It's free and open source: The project is hosted on GitHub and it’s free to download, fork, modify and contribute to the project.

    • Multi-platform: You can download binaries for different platforms, included Windows (x64), MacOS and Linux (.rpm and .deb packages)

    • LightWeight: It runs smoothly in different devices. It has an average memory and CPU usage. Starts almost immediately and it’s very stable.

    • Extended language support: Supports by default the majority of the most used languages and syntax like JavaScript, HTML, C#, Swift, Java, PHP, Python and others. Also, VS Code supports different file types associated to projects like .ini, .properties, XML and JSON files.

    • Integrated tools: Includes an integrated terminal, debugger, problem list and console output inspector. The project navigator sidebar is simple and powerful: you can manage your files and folders with ease. The command palette helps you find commands by text. The search widget has a powerful auto-complete feature to search and find your files.

    • Extensible and configurable: There are many extensions available for every language supported, including syntax highlighters, IntelliSense and code completion, and debuggers. There are also extension to manage application configuration and architecture like Docker and Jenkins.

    • Integrated with Git: You can visually manage your project repositories, pull, commit and push your changes, and easy conflict resolution.( there is support for SVN (Subversion) users by plugin)

    See more
    Firebase logo

    Firebase

    40.1K
    34.4K
    2K
    The Realtime App Platform
    40.1K
    34.4K
    + 1
    2K
    PROS OF FIREBASE
    • 371
      Realtime backend made easy
    • 270
      Fast and responsive
    • 242
      Easy setup
    • 215
      Real-time
    • 191
      JSON
    • 134
      Free
    • 128
      Backed by google
    • 83
      Angular adaptor
    • 68
      Reliable
    • 36
      Great customer support
    • 32
      Great documentation
    • 25
      Real-time synchronization
    • 21
      Mobile friendly
    • 18
      Rapid prototyping
    • 14
      Great security
    • 12
      Automatic scaling
    • 11
      Freakingly awesome
    • 8
      Chat
    • 8
      Angularfire is an amazing addition!
    • 8
      Super fast development
    • 6
      Built in user auth/oauth
    • 6
      Firebase hosting
    • 6
      Ios adaptor
    • 6
      Awesome next-gen backend
    • 4
      Speed of light
    • 4
      Very easy to use
    • 3
      Great
    • 3
      It's made development super fast
    • 3
      Brilliant for startups
    • 2
      Free hosting
    • 2
      Cloud functions
    • 2
      JS Offline and Sync suport
    • 2
      Low battery consumption
    • 2
      .net
    • 2
      The concurrent updates create a great experience
    • 2
      Push notification
    • 2
      I can quickly create static web apps with no backend
    • 2
      Great all-round functionality
    • 2
      Free authentication solution
    • 1
      Easy Reactjs integration
    • 1
      Google's support
    • 1
      Free SSL
    • 1
      CDN & cache out of the box
    • 1
      Easy to use
    • 1
      Large
    • 1
      Faster workflow
    • 1
      Serverless
    • 1
      Good Free Limits
    • 1
      Simple and easy
    CONS OF FIREBASE
    • 31
      Can become expensive
    • 16
      No open source, you depend on external company
    • 15
      Scalability is not infinite
    • 9
      Not Flexible Enough
    • 7
      Cant filter queries
    • 3
      Very unstable server
    • 3
      No Relational Data
    • 2
      Too many errors
    • 2
      No offline sync

    related Firebase posts

    Stephen Gheysens
    Lead Solutions Engineer at Inscribe · | 14 upvotes · 1.8M views

    Hi Otensia! I'd definitely recommend using the skills you've already got and building with JavaScript is a smart way to go these days. Most platform services have JavaScript/Node SDKs or NPM packages, many serverless platforms support Node in case you need to write any backend logic, and JavaScript is incredibly popular - meaning it will be easy to hire for, should you ever need to.

    My advice would be "don't reinvent the wheel". If you already have a skill set that will work well to solve the problem at hand, and you don't need it for any other projects, don't spend the time jumping into a new language. If you're looking for an excuse to learn something new, it would be better to invest that time in learning a new platform/tool that compliments your knowledge of JavaScript. For this project, I might recommend using Netlify, Vercel, or Google Firebase to quickly and easily deploy your web app. If you need to add user authentication, there are great examples out there for Firebase Authentication, Auth0, or even Magic (a newcomer on the Auth scene, but very user friendly). All of these services work very well with a JavaScript-based application.

    See more
    Tassanai Singprom

    This is my stack in Application & Data

    JavaScript PHP HTML5 jQuery Redis Amazon EC2 Ubuntu Sass Vue.js Firebase Laravel Lumen Amazon RDS GraphQL MariaDB

    My Utilities Tools

    Google Analytics Postman Elasticsearch

    My Devops Tools

    Git GitHub GitLab npm Visual Studio Code Kibana Sentry BrowserStack

    My Business Tools

    Slack

    See more
    Mirage logo

    Mirage

    19
    42
    1
    GUI for writing Elasticsearch queries
    19
    42
    + 1
    1
    PROS OF MIRAGE
    • 1
      Clean GUI
    CONS OF MIRAGE
      Be the first to leave a con

      related Mirage posts

      Postman logo

      Postman

      92.4K
      79.2K
      1.8K
      Only complete API development environment
      92.4K
      79.2K
      + 1
      1.8K
      PROS OF POSTMAN
      • 490
        Easy to use
      • 369
        Great tool
      • 276
        Makes developing rest api's easy peasy
      • 156
        Easy setup, looks good
      • 144
        The best api workflow out there
      • 53
        It's the best
      • 53
        History feature
      • 44
        Adds real value to my workflow
      • 43
        Great interface that magically predicts your needs
      • 35
        The best in class app
      • 12
        Can save and share script
      • 10
        Fully featured without looking cluttered
      • 8
        Collections
      • 8
        Option to run scrips
      • 8
        Global/Environment Variables
      • 7
        Shareable Collections
      • 7
        Dead simple and useful. Excellent
      • 7
        Dark theme easy on the eyes
      • 6
        Awesome customer support
      • 6
        Great integration with newman
      • 5
        Documentation
      • 5
        Simple
      • 5
        The test script is useful
      • 4
        Saves responses
      • 4
        This has simplified my testing significantly
      • 4
        Makes testing API's as easy as 1,2,3
      • 4
        Easy as pie
      • 3
        API-network
      • 3
        I'd recommend it to everyone who works with apis
      • 3
        Mocking API calls with predefined response
      • 2
        Now supports GraphQL
      • 2
        Postman Runner CI Integration
      • 2
        Easy to setup, test and provides test storage
      • 2
        Continuous integration using newman
      • 2
        Pre-request Script and Test attributes are invaluable
      • 2
        Runner
      • 2
        Graph
      • 1
        <a href="http://fixbit.com/">useful tool</a>
      CONS OF POSTMAN
      • 10
        Stores credentials in HTTP
      • 9
        Bloated features and UI
      • 8
        Cumbersome to switch authentication tokens
      • 7
        Poor GraphQL support
      • 5
        Expensive
      • 3
        Not free after 5 users
      • 3
        Can't prompt for per-request variables
      • 1
        Import swagger
      • 1
        Support websocket
      • 1
        Import curl

      related Postman posts

      Noah Zoschke
      Engineering Manager at Segment · | 30 upvotes · 2.7M views

      We just launched the Segment Config API (try it out for yourself here) — a set of public REST APIs that enable you to manage your Segment configuration. A public API is only as good as its #documentation. For the API reference doc we are using Postman.

      Postman is an “API development environment”. You download the desktop app, and build API requests by URL and payload. Over time you can build up a set of requests and organize them into a “Postman Collection”. You can generalize a collection with “collection variables”. This allows you to parameterize things like username, password and workspace_name so a user can fill their own values in before making an API call. This makes it possible to use Postman for one-off API tasks instead of writing code.

      Then you can add Markdown content to the entire collection, a folder of related methods, and/or every API method to explain how the APIs work. You can publish a collection and easily share it with a URL.

      This turns Postman from a personal #API utility to full-blown public interactive API documentation. The result is a great looking web page with all the API calls, docs and sample requests and responses in one place. Check out the results here.

      Postman’s powers don’t end here. You can automate Postman with “test scripts” and have it periodically run a collection scripts as “monitors”. We now have #QA around all the APIs in public docs to make sure they are always correct

      Along the way we tried other techniques for documenting APIs like ReadMe.io or Swagger UI. These required a lot of effort to customize.

      Writing and maintaining a Postman collection takes some work, but the resulting documentation site, interactivity and API testing tools are well worth it.

      See more
      Simon Reymann
      Senior Fullstack Developer at QUANTUSflow Software GmbH · | 27 upvotes · 4.7M views

      Our whole Node.js backend stack consists of the following tools:

      • Lerna as a tool for multi package and multi repository management
      • npm as package manager
      • NestJS as Node.js framework
      • TypeScript as programming language
      • ExpressJS as web server
      • Swagger UI for visualizing and interacting with the API’s resources
      • Postman as a tool for API development
      • TypeORM as object relational mapping layer
      • JSON Web Token for access token management

      The main reason we have chosen Node.js over PHP is related to the following artifacts:

      • Made for the web and widely in use: Node.js is a software platform for developing server-side network services. Well-known projects that rely on Node.js include the blogging software Ghost, the project management tool Trello and the operating system WebOS. Node.js requires the JavaScript runtime environment V8, which was specially developed by Google for the popular Chrome browser. This guarantees a very resource-saving architecture, which qualifies Node.js especially for the operation of a web server. Ryan Dahl, the developer of Node.js, released the first stable version on May 27, 2009. He developed Node.js out of dissatisfaction with the possibilities that JavaScript offered at the time. The basic functionality of Node.js has been mapped with JavaScript since the first version, which can be expanded with a large number of different modules. The current package managers (npm or Yarn) for Node.js know more than 1,000,000 of these modules.
      • Fast server-side solutions: Node.js adopts the JavaScript "event-loop" to create non-blocking I/O applications that conveniently serve simultaneous events. With the standard available asynchronous processing within JavaScript/TypeScript, highly scalable, server-side solutions can be realized. The efficient use of the CPU and the RAM is maximized and more simultaneous requests can be processed than with conventional multi-thread servers.
      • A language along the entire stack: Widely used frameworks such as React or AngularJS or Vue.js, which we prefer, are written in JavaScript/TypeScript. If Node.js is now used on the server side, you can use all the advantages of a uniform script language throughout the entire application development. The same language in the back- and frontend simplifies the maintenance of the application and also the coordination within the development team.
      • Flexibility: Node.js sets very few strict dependencies, rules and guidelines and thus grants a high degree of flexibility in application development. There are no strict conventions so that the appropriate architecture, design structures, modules and features can be freely selected for the development.
      See more
      Insomnia REST Client logo

      Insomnia REST Client

      775
      640
      44
      The most intuitive cross-platform REST API Client 😴
      775
      640
      + 1
      44
      PROS OF INSOMNIA REST CLIENT
      • 16
        Easy to work with
      • 11
        Great user interface
      • 6
        Works with GraphQL
      • 4
        Cross platform, available for Mac, Windows, and Linux
      • 3
        Opensource
      • 2
        Vim and Emacs key map
      • 2
        Preserves request templates
      • 0
        Does not have history feature
      CONS OF INSOMNIA REST CLIENT
      • 4
        Do not have team sharing options
      • 2
        Do not store credentials in HTTP

      related Insomnia REST Client posts

      Jason Barry
      Cofounder at FeaturePeek · | 4 upvotes · 2.4M views

      We've tried a couple REST clients over the years, and Insomnia REST Client has won us over the most. Here's what we like about it compared to other contenders in this category:

      • Uncluttered UI. Things are only in your face when you need them, and the app is visually organized in an intuitive manner.
      • Native Mac app. We wanted the look and feel to be on par with other apps in our OS rather than a web app / Electron app (cough Postman).
      • Easy team sync. Other apps have this too, but Insomnia's model best sets the "set and forget" mentality. Syncs are near instant and I'm always assured that I'm working on the latest version of API endpoints. Apps like Paw use a git-based approach to revision history, but I think this actually over-complicates the sync feature. For ensuring I'm always working on the latest version of something, I'd rather have the sync model be closer to Dropbox's than git's, and Insomnia is closer to Dropbox in that regard.

      Some features like automatic public-facing documentation aren't supported, but we currently don't have any public APIs, so this didn't matter to us.

      See more
      OpenAPI logo

      OpenAPI

      628
      438
      6
      Allows the owner of a network-accessible service to give universal access
      628
      438
      + 1
      6
      PROS OF OPENAPI
      • 1
        Easy to read the template generated
      • 1
        The most popular api spec
      • 1
        Easy to learn
      • 1
        Supports versioning
      • 1
        Supports authentication
      • 1
        Supports caching
      CONS OF OPENAPI
        Be the first to leave a con

        related OpenAPI posts

        Joshua Dean Küpper
        CEO at Scrayos UG (haftungsbeschränkt) · | 4 upvotes · 473K views

        We use Swagger Inspector in conjunction with our universal REST-API "Charon". Swagger Inspector makes testing edge-cases hassle-free and lets testing look easy. Swagger Inspector was also a great help to explore the Mojang-API, that we are dependent on, because it is the central repository for minecraft-account-data.

        We previously used Postman but decided to switch over to Swagger Inspector because it also integrated seamlessly into Swagger UI, which we use for displaying our OpenAPI specification of said REST-API.

        See more
        Retrofit logo

        Retrofit

        317
        197
        0
        A type-safe HTTP client for Android and Java
        317
        197
        + 1
        0
        PROS OF RETROFIT
          Be the first to leave a pro
          CONS OF RETROFIT
            Be the first to leave a con

            related Retrofit posts