DEV Community

tkhadir
tkhadir

Posted on

[fake-api] how to mock a fake reponse when developing

When working on developing an api i have faced an issue : how to deal with an api that is not already developed ?

Then i had the idea to mock the response using faker.js library.

https://www.npmjs.com/package/faker

And you how do you do to mock your api's ?

Top comments (1)

Collapse
 
lambrero profile image
Avin Lambrero

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay