miragejs
mockoon
Our great sponsors
miragejs | mockoon | |
---|---|---|
17 | 48 | |
5,281 | 5,864 | |
0.3% | 2.5% | |
4.3 | 9.2 | |
11 days ago | 5 days ago | |
JavaScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
miragejs
-
Exploring Mirage JS: Simplifying API Mocking in React Development
Mirage JS GitHub Repository
- Mock server
-
The Definitive Guide to Make API Calls in React
For the styles, I'll be using TailwindCSS. To simulate API requests Mirage JS will be used, which is a very easy to use and useful API mocking library. To call this API, we're going to use Fetch.
-
e2e testing setup and thoughts on Playwright
during development we use mirage JS to spin up an in-browser mock server which returns mock data for any API endpoints not currently implemented by the real backend. during integration testing we configure this server to return mock data for all API endpoints in the system, giving us a fixed environment against which our tests can run. test suites can be run in parallel since each time a playwright page is opened a new copy of the webapp, and thus a new copy of the mock server, is launched. these integration tests run whenever a frontend PR is opened or updated.
-
How do you practice with React without setting up your own backend?
Mirage JS is specifically built for this purpose as well. It‘s a frontend JavaScript library meant for mocking backend APIs. https://miragejs.com/
We use miragejs https://miragejs.com/
-
Do tests without seeing the code!
The best case scenario you would be using something like MirageJS, MSW, or even JSON Server, but mocking fetch is always an option.
-
Mock server while developing
Mirage JS is pretty useful and allows you to create complex testing scenarios with its embedded db. Useful when you have relationships between your models.
-
Mocking API calls in React Tests with Nock
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.
- How to correctly mock node-fetch?
mockoon
-
Handling Firebase Notifications in Flutter: Practical Tips
Mockoon - Used as a logging server instead of using print in the console.
-
Ask HN: Those making $500+/month on side projects in 2024 – Show and tell
Hopefully, 2024 is the year I can stop freelancing and live the dream! Work on an open-source project I love while not feeling guilty about not bringing enough money home :D
--> https://mockoon.com
-
How do you make revenue from your FOSS projects ?
The project I'm working on is https://mockoon.com
-
🔥🔥 Our awesome OSS friends 😍
Mockoon- Mockoon is the easiest and quickest way to design and run mock REST APIs.
-
Share Your Startup - July 2023 - Upvote for Maximum Visibility
Startup Name / URL: Mockoon (https://mockoon.com)
-
Mock server
If you are looking for something with a GUI, I made https://mockoon.com It's open source, supports Faker.js and has a CLI to run the mocks in your CI env (or elsewhere).
-
Building a Slack/Discord Alternative with Tauri/Rust
I maintain an open-source app built with Electron. It serves tens of thousands of users every months and nobody complained in 5 years that it is being built with Electron. Not saying that Electron is perfect, and that it couldn't be a bit more performant, but as a solo maintainer (and entrepreneur) it helps me ship something that save people time. The burden of maintaining an application is already huge. Having to juggle with multiple environments would be a hassle and I definitely wouldn't do it.
That being said, if a "drop-in" alternative would be available I would probably try to switch at one point. But the alternative would have to be on par with the ecosystem (including packaging, binaries signing, etc.), the community, the ease of use... I don't think there is such a thing yet.
The app, if you are interested: https://mockoon.com
-
I’m curious what your start up’s journey was like even back when you found the idea.
Company: https://mockoon.com
-
Please recommend a good API Mocking tool
I recommend Mockoon https://mockoon.com/ it’s simple like Postman without create mock api server with code
-
What are some ways to mock APIs and pre-populate data on my automated tests? [WebDriverIO]
This may not be what you're looking for, but have you seen Mockoon?
What are some alternatives?
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
Nock - HTTP server mocking and expectations library for Node.js
electron-playwright-example - Example of multi-window Playwright testing with Electron
json-server - Get a full fake REST API with zero coding in less than 30 seconds (seriously)
graphql-faker - 🎲 Mock or extend your GraphQL API with faked data. No coding required.
Express - Fast, unopinionated, minimalist web framework for node.
ewelink-web-ui - Ewelink Web App Tool for managing devices from PC
prism - Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
Visual Studio Code - Visual Studio Code
http-server - a simple zero-configuration command-line http server
mountebank - Over the wire test doubles