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