API Mocking Strategies for JavaScript Applications

This page summarizes the projects mentioned and recommended in the original post on dev.to

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

    A client-side server to build, test and share your JavaScript app

  • MirageJS, through Pretender

  • Express

    Fast, unopinionated, minimalist web framework for node.

  • Plain ExpressJS server

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

    HTTP server mocking and expectations library for Node.js

  • nock, through stubbing http/https modules

  • json-server

    Get a full fake REST API with zero coding in less than 30 seconds (seriously)

  • JSON Server

  • msw

    Seamless REST/GraphQL API mocking library for browser and Node.js.

  • Libraries like Mock Service Worker leverage this unique browser ability gracefully to provision seamless API mocking. Let me know if you would like to learn more about this unusual strategy in the comments below!

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

    InfluxDB 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

  • Developing with msw

    4 projects | dev.to | 22 Mar 2022
  • How to Handle File Uploads with Node.js and Express

    5 projects | dev.to | 7 Feb 2024
  • Polly.js – Record, replay, and stub HTTP interactions

    2 projects | news.ycombinator.com | 8 Jan 2024
  • Contract Testing?

    1 project | /r/softwaretesting | 1 May 2023
  • I made wirepig, a simple way to mock HTTP and TCP dependencies in tests.

    3 projects | /r/node | 13 Mar 2023