Our great sponsors
-
refine
Discontinued Build your React-based CRUD applications, without constraints. [Moved to: https://github.com/refinedev/refine] (by pankod)
-
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.
-
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.
We'll use a third-party package called nock that helps us to mock HTTP requests. With nock, we can specify the desired behavior of our mock HTTP requests, including the URL, headers, and body. This allows us to test our code against a known data set, making debugging and testing much more straightforward.
Check out refine, if you are interested in a headless framework you can use with any custom design or UI-Kit for 100% control over styling.
fetch-mock: fetch-mock allows mocking HTTP requests made using fetch or a library imitating its API.
MSW Mock Service Worker: Mock Service Worker is an API mocking library that uses Service Worker API to intercept actual requests.
Mirage JS: Mirage JS is an API mocking library that lets you build, test, and share a complete working JavaScript application without having to rely on any backend services.
Related posts
- How do you practice with React without setting up your own backend?
- Partial: how not to mock the whole world
- Please recommend a good API Mocking tool
- What part of Frontend you don't like doing, but have to do it?
- We created WireMock, an API platform that is designed to improve developer productivity and enables developers and testers to Mock APIs in every stage of the API lifecycle