This is my solution to problem 1 - Static Site Generator
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).
- Nodejs needs to be installed to run the application
- Access to the terminal to start the application
- clone or download the project
- Run
npm install
orpnpm 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
- Semantic HTML5 markup
- Mobile-first workflow
- Nodejs - JS library
- Expressjs - Nodejs Web Framework
- Tailwindcss - For styles
- Website - Ian Mugenya
- Twitter - @Mcbooll