Adding Dummy Data

Learn to add product data to our application.

The data directory

We’ll use a data directory for all our data.

Let’s create a data directory in the app directory. We’ll create a categories.js file in app/data and add the data:

Get hands-on with 1400+ tech skills courses.