Script for Generating Unique Pages

This repository contains a script for generating <100 unique pages dynamically. The script uses an API to fetch data and a templating engine to generate the UI according to the given wireframe.

To run the script, you will need:

  • Javascript or Typescript installed
  • A templating engine of your choice (e.g. eta.js)

Installation

Clone this repository to your local machine. Install the required dependencies for your chosen programming language. Run the ts file to generate the js files Run the js file to generate 10 or many html files in the output folder

Usage

To generate the pages, run the script with your chosen programming language.

Testing

Tests have been included to test the generation of html file from the api data.

Lighthouse score

image

Areas of Improvement

  • responsiveness
  • mobile friendly
  • caching of assets for better deliverables

If you would like to contribute to this project, please feel free to submit a pull request. License