# Alvin Zilverstand — portfolio A custom, bilingual static portfolio for VISTA college Heerlen. Dark project journal with project dossiers, repository links and a provisional SBB evidence index. No external fonts, tracking, framework, CMS, runtime API requests or production Node service. ## Run locally Requires Node 22 or newer. No dependency installation is necessary. Run all commands from the repository root. Start with [the codebase index](docs/codebase-index.md), follow [contributor instructions](AGENTS.md), and see [verification](docs/verification.md) for current results and known limits. ```sh npm run dev ``` Open http://127.0.0.1:4173. Set `PORT` to change the port. The development server binds to loopback only. ```sh npm test npm run build ``` The build regenerates tracked `content.js` from JSON and copies `index.html`, `styles.css`, `app.js`, `content.js` and `favicon.svg` into ignored `dist/`. It validates content and stages these five assets before replacing `dist/`, removing stale files. Redirected build directories are rejected. A general static host can serve them at a domain root or subdirectory; the included Nginx configuration serves only the domain root. Hash-based routes need no server fallback. Dutch is the default; `?lang=en#evidence` opens English evidence navigation. Language switching preserves the current page. ## Maintain content See [the codebase index](docs/codebase-index.md) for the file map and rendering dependencies. Content editing stays on your computer. There is no public admin page or write API. - **Add a project:** run `npm run project:add -- my-project`. Open the new `content/projects/my-project.json` and replace the placeholder text. - **Edit a project:** open its file in `content/projects/`. Text pairs are `[Dutch, English]`. Change `number` to change the display order; the first project is featured on the homepage. - **Delete a project:** delete its JSON file. Its project card and evidence-index entries disappear on the next preview refresh or build. - **Add/edit/delete an item:** edit the project's `evidence` array. Copy an existing entry to add one, change its values to edit it, or remove the entry to delete it. An empty array `[]` is allowed. - **Profile links and processes:** edit `content/settings.json`. Biography, visible name, course details, contribution and reflection placeholders are also hardcoded in `app.js`; document metadata and the fallback link live in `index.html`. An evidence item looks like this: ```json { "label": ["Testverslag", "Test report"], "path": "projects/my-project/tests.md", "type": "MD", "codes": ["B1-K1-W4"] } ``` Use `"directory": true` for a folder. Paths are relative to the school repository by default; a project can specify its own pinned GitHub or Gitea repository. Keep project `id` values stable to preserve links. Use exactly three `nodes` for the schematic structure line in project dossiers. Project numbers and challenge numbers are strings. See [the content reference](docs/content-editing.md) for every field, validation limits and how project tags differ from evidence mappings. Run `npm run dev` and refresh the browser to preview saved edits. Invalid content will prevent the preview content module from loading; run `npm run content` for a descriptive validation error. Run `npm run build` to validate and prepare publication. `content.js` is generated; do not edit it directly. `npm run content` regenerates it without building. Only deploy `dist/`. Everything in the generated content is public, so keep credentials and private documents out of these files. Repository links default to the `revision` in `content/settings.json`. Projects outside the school archive supply a `repository` object with their own URL, forge and reviewed commit. See the [repository review](docs/repository-review.md) for the 10 November 2026 selection. ## Finish the exam content The interface is functional; the exam dossier is not yet complete. The selection contains nine school and personal projects, based on public GitHub and Gitea sources, not invented personal experience. Artifact paths were checked against the repository tree. DOCX contents were not reviewed and the source projects' test scripts were not executed. Before submission, add your personal contribution and reflection for every case study, confirm solo/team context, include actual test results, and substantiate improvement claims. Add evidence for B1-K2-W1, W2 and W3 (collaboration, presentation and evaluation). The current mappings are suggestions, not assessment decisions. Ask the examiner which artifacts and authenticity statements VISTA requires. General subjects, electives and institution-specific requirements are outside this vocational index. The source is SBB's 2024 qualification for Software Developer, code 25998: https://kwalificatie-mijn.s-bb.nl/Details/DownloadDocument/1963420 English process names are informal translations. The qualification review date remains 9 November 2026. The separate repository review on 10 November 2026 selected six additional projects and checked pinned source paths; it did not reassess the qualification. Direct contact details, a CV, screenshots, assessed outcomes and personal reflections were not supplied, so the site does not invent them. Add these as real material becomes available. The structure line in each dossier is schematic, not a screenshot of a running application. ## Host on Proxmox with Docker See [Docker hosting instructions](docs/docker-hosting.md) for installation, network access, reverse proxies and content updates. Run `docker compose up -d --build` from the repository on your Docker guest. Docker builds from the JSON source files; no manual build or Node installation is needed on the guest. The default binding is localhost only. Configure `.env` as described in the guide for LAN or proxy access. ## Verify and publish changes Run `npm test`, `npm run build` and `git diff --check`. Both test and build commands regenerate `content.js`; commit it with any JSON changes. Review `git diff` and stage only intended files. Never commit `.env` or `dist/`. Fetch the remote before publishing. If the remote branch advanced, rebase only your unpublished commits onto it, resolve conflicts, and repeat affected checks. Push normally; do not force-push shared history. A Git push updates the source repository, not the running Docker deployment. On the hosting guest, use `git pull --ff-only` and rebuild as described in the hosting guide.