Building a Mock API with JSON Server

Difficulty: Beginner
Duration: 7 minutes and 13 seconds
Students: 27

This lesson teaches how to set up a mock API using JSON Server and a service provider for realistic data called Mockeroo.

Learning Objectives

  • Learn how to generate data using the Mockaroo website.

  • Implement JSON Server

  • Learn how JSON Server generates routes based on the mock data given

Intended Audience

  • This lesson is intended for anyone who wants to test front ends with a mock API

Prerequisites

  • Node.JS is required to run JSON Server

Covered Topics