This project is a static website for the design portfolio of Jakub Tóth.
The main components are:
projects.json: A JSON file that stores all the structured data for the projects, parsed from the original HTML.build.js: A Node.js script that programmatically generates the finalindex.htmlfile by combining the project data fromprojects.jsonwith an HTML structure.build/: The output directory where the generatedindex.htmlwebsite is placed.
To build the build/index.html, run:
bun build.jsAfter the build is complete, you can open the build/index.html file in a browser to view the site.
To test the site locally with a development server (useful for catching issues before deployment.):
bun test-local.jsThis will:
- Build the site using
build.js - Start a local server at http://localhost:8000 with request logging
- Display testing instructions
All HTTP requests will be logged to the console, showing which images are being loaded and when.
Testing tips:
- Open DevTools (⌥⌘I) → Network tab
- Enable "Disable cache" checkbox
- Set throttling to "Fast 4G" to simulate real-world conditions