This app needs to be started, not opened directly

You've opened index.html straight from the file system. Browsers block the app's JavaScript modules when a page is loaded this way (a security rule called CORS), so the dashboard can't start.

To run it: open a terminal in the office-portal folder and run

php -S localhost:8080 serve-local.php

then visit http://localhost:8080.

Or double-click the launcher included in the project folder: start.command (Mac), start.bat (Windows), or start.sh (Linux). Requires PHP 8.1+ โ€” check with php -v.

Office Portal

Staff & admin sign in