interface-forge
data
interface-forge | data | |
---|---|---|
1 | 5 | |
66 | 752 | |
- | 4.0% | |
5.9 | 5.6 | |
13 days ago | 14 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
interface-forge
-
Introducing Interface Forge
I wrote with my collaborators an awesome factory library for creating test data and fixtures, called interface forge. I would very much like to invite you to check it out, maybe see the extensive documentation or read the medium article that introduces it and discusses some of its use cases.
data
- What direction can I take to mocking a data structure that is relational on the front-end while I wait for backend endpoints to be created?
- What direction can I take to mock a (relational?) data-structure on the front-end while I wait for backend endpoints to be created?
-
Mock Service Worker is awesome
It supports both REST and GraphQL APIs, it can delay the response of mocked API endpoints so the endpoint feels more real-life, it has it's own in-memory database with @msw/data package for more complex querying (e.g, searching, sorting), it can also run mocks in NodeJS environment instead of Service Worker (really useful for testing). Next, let's take a look at which problems msw can solve and how.
-
Why I migrated to msw from json-server?
Next steps mswjs/data
-
Announcing "@mswjs/data"—data modeling library for testing JavaScript applications
Today we are proud to announce the Data library—a standalone package to model and query data in your tests and beyond. Although the project is at the early stage of development and doesn't solve every problem right away, letting you try it out and gather your feedback is crucial for us to refine and shape the future experience.
What are some alternatives?
shoehorn - Work seamlessly with partial mocks in TypeScript.
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
cli - Mockoon's official CLI. Deploy your mock APIs anywhere.
ng-mocks - Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
carrier - 🛠 A test fixtures replacement for Go, support struct and ent, inspired by factory_bot/factory_boy
json-server - Get a full fake REST API with zero coding in less than 30 seconds (seriously)
automock - Easier Unit Testing for TypeScript Dependency Injection Frameworks
strong-mock - Type safe mocking library for TypeScript
camouflage - Camouflage is a backend mocking tool for HTTP, gRPC, Websockets and Thrift protocols, which helps you carry out your front end prototyping, unit testing, functional/performance testing in silos, in absence of one or more Microservices/APIs.
Faker.js - What really happened with Aaron Swartz?
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
ts-mockito - Mocking library for TypeScript