🌐
Miragejs
miragejs.com › quickstarts › react-native › development
Mock API Requests in React Native with Mirage • Mirage JS
import React from "react" import { Text, View } from "react-native" import { createServer } from "miragejs" if (window.server) { server.shutdown() } window.server = createServer({ routes() { this.get("/api/movies", () => { return { movies: [ { id: 1, name: "Inception", year: 2010 }, { id: 2, name: "Interstellar", year: 2014 }, { id: 3, name: "Dunkirk", year: 2017 }, ], } }) }, }) export default function App() { let [movies, setMovies] = React.useState([]) React.useEffect(() => { fetch("/api/movies") .then((res) => res.json()) .then((json) => setMovies(json.movies)) }, []) return ( <View> {movies.map((movie) => ( <Text key={movie.id}> {movie.name} ({movie.year}) </Text> ))} </View> ) }
🌐
Mockoon
mockoon.com › tutorials › react-api-call-and-mocking
Mockoon - Call a mock API from your React application
Learn how to call a REST API from your React application service and mock it using Mockoon API mocking tools
Discussions

json - React Native - make dummy db get real data from api - Stack Overflow
I am quite new to React Native and JS and have recently purchased a React Native template which has a Dummy DB. Ideally Id like it to pull data from an external JSON (API) which is being generated ... More on stackoverflow.com
🌐 stackoverflow.com
Need Help to create a dummy api
If you’re just prototyping - msw is pretty chill and can be used in a variety of ways, I like it w Storybook More on reddit.com
🌐 r/reactjs
28
11
April 20, 2023
Reliable API for dummy data?
You could always run a fake API locally like with json server More on reddit.com
🌐 r/reactjs
14
16
March 19, 2021
"fake" API that returns JSON

https://github.com/typicode/json-server to roll your own or just Google 'mock json api online' for saas.

More on reddit.com
🌐 r/reactnative
12
3
September 23, 2014
🌐
DEV Community
dev.to › meeshkan › how-to-mock-api-calls-in-react-native-455p
How to mock API calls in React Native - DEV Community
October 23, 2019 - This function sets the component state and uses fetchFact function for the network call. The fetchFact function uses Fetch API provided by React Native:
🌐
BrowserStack
browserstack.com › home › guide › dummy apis for react apps: a complete guide
Dummy APIs for React Apps: A Complete Guide | BrowserStack
September 17, 2025 - Modern React applications often depend on backend APIs that may not be ready during early development, causing delays and blocking frontend progress. To overcome this challenge, developers can rely on Dummy APIs, a simple yet effective solution that enables seamless UI building and testing without waiting for the backend.
🌐
digit
digitware.it › home › api mock with react and reactnative
Api mock with React and ReactNative - digit
August 27, 2021 - Unless you are very lucky, it will be so for weeks or months, since the Backend Team is still developing them and struggling to search for some reliable data. However, “Show Must Go On” and Frontend Team needs to start the development of the App or they will not be able to deliver anything. ... There are several approches and I’m going to describe what we do in Digit and what are the pros and contros. If you have to manage both React and ReactNative applications, use json-server or MirageJs
🌐
Pluralsight
pluralsight.com › tech insights & how-to guides › tech guides & tutorials
Creating a Mock API in React | Pluralsight
August 12, 2020 - The mock API endpoint could be /employees and the properties for each employee will consist of:
🌐
Apidog
apidog.com › blog › mock-rest-api-from-react
How to Use Mock Data in React.js with APIDog
July 24, 2024 - While creating your project, Apidog provides some examples that you can instantly use. Make sure to check the 'Including Examples" box so that those examples will be generated for you. Once you're done with that, click on the Create button, and tada!!!!! You're now all set! The dummy data that Apidog generated for us is already packed with API specifications, data, and all of the things we need to test it.
🌐
Gosha Spark
goshacmd.com › why-i-mock-api-in-mobile-apps
Reasons I use a mock API in React Native apps | Gosha Spark
I'm doing plenty of React Native applications these days. Something common to all of them, from a developer experience point of view, is: they avoid calling out to a real API and use fake data instead...
Find elsewhere
🌐
Robin Wieruch
robinwieruch.de › react-mock-data
How to mock data in React with a fake API
September 18, 2020 - Learn how to mock data for your React application with a fake API which mocks REST APIs (or other kinds of asynchronous calls) if there is no backend yet and you need to fake it till you make it ...
🌐
Meeshkan
meeshkan.com › blog › mock-api-calls-react-native
How to mock API calls in React Native | Meeshkan Website
We're experts in taking a data science approach to testing. Here we share our experience and knowledge!
🌐
Mock Service Worker
mswjs.io › docs › integrations › react-native
React Native integration - Mock Service Worker
November 10, 2025 - MSW relies on standard JavaScript classes that are not present in React Native, like URL. Please install the polyfills below to guarantee proper MSW execution in React Native.
🌐
Stack Overflow
stackoverflow.com › questions › 61499683 › react-native-make-dummy-db-get-real-data-from-api
json - React Native - make dummy db get real data from api - Stack Overflow
This doesn’t look like a react problem, but a typescript one. Typescript does a type inference from your return value to check and see if it matches what you’ve stated. In short: you’ve just declared your types wrong. The function doesn’t return a DoctorModel[] it’s returning Promise<DoctorModel[]> export const doctorsList: Promise<DoctorModel[]> = () => fetch(' ##LINK TO API## ') .then((response) => response.json() as DoctorsModel[]);
🌐
Harvey Delaney
blog.harveydelaney.com › setting-up-a-mock-api-for-your-front-end-react-project
Setting up a Local Mock API for your Front-end (React) Project
November 5, 2020 - In this article, I'm going to cover how I create own mock APIs that allow my frontend applications to run without any other external dependencies! For this article, I'm using React and used Create React App to create the project.
🌐
Codemagic blog
blog.codemagic.io › testing-api-calls-in-react-native
How to test API calls in React Native applications | Codemagic Blog
April 7, 2021 - Learn how to test API calls in React Native applications. To call and test APIs, we are going to make use of mock functions.
🌐
Medium
medium.com › @emre.deniz › react-native-making-api-calls-1d5ce5172245
React Native: Making API Calls. Overview | by Emre Deniz | Medium
November 25, 2024 - The process of integrating external APIs into a mobile application to access data and functionality from those APIs is known as “API integration” in React Native. Developers send network queries to API endpoints throughout this phase, process ...
🌐
DEV Community
dev.to › roshan_100kar › display-dummy-api-json-data-to-a-table-in-react-js-3702
Display Dummy API JSON data to a table in React JS - DEV Community
September 4, 2022 - Hello There In order to Display Dummy API data in table form using react js you have knowledge about... Tagged with react, api, javascript, json.
🌐
Medium
medium.com › @conboys111 › master-mocking-api-calls-a-step-by-step-guide-for-react-testing-f5dd73524e16
Master Mocking API Calls: A Step-by-Step Guide for React Testing | by myHotTake | Medium
December 10, 2024 - Control the Action: Use mocks to simulate different scenarios (success, failure, etc.) without hitting the real API. Keep It Clean: Always clean up mocks after tests so they don’t interfere with other scenes. Libraries Help: Jest and @testing-library/react make mocking and testing React components a breeze.
🌐
freeCodeCamp
freecodecamp.org › news › react-native-networking-api-requests-using-fetchapi
React Native Networking – How To Perform API Requests In React Native using the FetchAPI
October 15, 2024 - This is a free fake API for testing and prototyping purposes. The API comes with 6 common resources which you can read, edit, update or delete by making API requests. ... So here each post is an object with four properties: userId, id, title ...
🌐
BrowserStack
browserstack.com › home › guide › mock api setup in react: a complete beginner’s guide
Mock API Setup in React: A Complete Beginner's Guide | BrowserStack
August 18, 2025 - It intercepts network requests and lets you define custom responses for REST and GraphQL APIs. ... No code changes required: Create mock responses for real endpoints without modifying your fetch or Axios calls, so you can start mocking instantly ...
🌐
Medium
medium.com › @whereanna7 › fetching-data-from-fake-apis-in-the-react-environment-8820fd7bf563
Fetching Data From Fake APIs In The React Environment | by DancinnCoder | Medium
November 14, 2024 - Today, I am going to share what I have learned and practiced, which are the various ways to fetch data from fake APIs in the React environment. First of all, I used JSONPlaceholder as a fake API. This amazing service provides you with a free fake API so that people can test their API contracts. Or, for those who want to practice API contracts with like me!