Reference
Requirements
What must be on the computer: Node 22, npm, Git, Chromium for the browser tests, Docker for the image.
On the computer
| What | Version | What for |
|---|---|---|
| Node | 22, in .nvmrc. engines requires >=22 | development, tests, build |
| npm | with Node | dependencies from package-lock.json |
| Git | a current one | clone, version in the image, npm run rename |
| Chromium for Playwright | matching Playwright 1.62.1 | only for npm run test:e2e |
| Docker with BuildKit | from Docker 23 | only for the image and docker/compose.local.yml |
openssl | a current one | random values for token and secret |
You install Chromium once like this:
npx playwright install chromium
Without Docker everything runs except the image. That is usually built by GitHub Actions, see The image.
Ports
| Port | What for |
|---|---|
| 3370 | development server, npm start and the container |
| 3371 | the browser tests, with a build of their own |
What the application does not need
No database as a service of its own: the accounts lie in a SQLite file that
better-sqlite3 reads. No mail server: the admin creates accounts. No other
repository: the tests run after a fresh clone.
Next: Setup.