Skip to content

kvaky/jakubtoth.sk

Repository files navigation

Project Overview

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 final index.html file by combining the project data from projects.json with an HTML structure.
  • build/: The output directory where the generated index.html website is placed.

Building and Running

To build the build/index.html, run:

bun build.js

After the build is complete, you can open the build/index.html file in a browser to view the site.

Testing Before Deployment

To test the site locally with a development server (useful for catching issues before deployment.):

bun test-local.js

This will:

  1. Build the site using build.js
  2. Start a local server at http://localhost:8000 with request logging
  3. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors