In this video, you will learn how to create pages from data in eleventy. a data source can be a JSON file or a js file.
for more information check out the eleventy docs