Introduction

We are agile! In most of our projects we are asked to develop User Interfaces in parallel to the back-end services and APIs. This gives us the challenge of Implement and Test the User Interfaces without the real and real-like data availability. Not only that, how about the APIs? Can it be faked such that,
For most of the projects where I less worry about the truthfulness of the data but, rest of it matters, I would like to use the combination of these:

Faker.js

Faker.js helps us building massive amount of Fake data in real quick time. Though the data is fake, you can still build the data with the required type, structure with which the User Interfaces can be tested early.
It has got various methods to provide data related to address, finance, commerce, date etc.

JSON Server

JSON Server helps us in getting a full fake REST API with zero coding in less than a minute! It is insanely true. The beauty of it is, it uses a JSON file as a data store which can be built easily with Faker.js.

Showcase: Quick Steps

As we have got a high level introductions to both Faker.js and JSON Server, let us see them coming together to solve the data and API prototype problem, faster.
Create a New Project
Install Dependencies
Create a Database
We will be creating a database(db.json) using Faker.js.
Create the Server and API
Hope you enjoyed reading it. That's all for now.