Pesapal - Static Site Generator Solution

This is my solution to problem 1 - Static Site Generator

Problem Statement

Problem 1: A static-site generator

Design and implement a simple static-site generator.

It should be able to

  • Take a folder containing Markdown (or another non-HTML markup-type format) pages and produce a website. - There should be support for a homepage, articles and supporting pages (e.g. an about page and some error pages).

Screesnhots

Mobile View

Mobile View Two

Desktop View

Desktop View

Pre-requisites to run the app

  • Nodejs needs to be installed to run the application
  • Access to the terminal to start the application

Running the app

  • clone or download the project
  • Run npm install or pnpm install to install the necessary dependancies
  • Once all the all the packages have been installed, run one of the two commands:
 `npm run dev` or `pnpm run dev`

This command will open the application in development mode. This will build out the dist folder where your static files will live and watch for changes.

  • Navigate into the dist folder and open the index.html file using VSCode live server extension.

N/B:

Please keep node server running to see live changes

Built with

Dependancies

Author