1.1 KiB
AnchorHost.eu frontend
React single-page application for the AnchorHost.eu hosting platform. The app source was recovered from the production image source maps; static runtime assets are in public/assets. The deployed bundle and its maps are retained under recovered-production/ as a reference snapshot.
Development
- Install Node.js 24 LTS or newer and npm.
- Run
npm ci. - Copy
.env.exampleto.envand set the API/WebSocket URLs as needed. - Run
npm run dev(ornpm start).
npm run build creates the production bundle in dist/. The included Dockerfile serves it with nginx and supports client-side routes. Vite expects JSX files to use .jsx; keep .js for plain JavaScript modules.
Rebrand the deployment
Edit the root branding.json to set the product name, domain, logo path, public copy, contact addresses, documentation and source links, and footer credit. Replace the logo file at the configured path under public/. The app imports this file for its UI, API defaults, document metadata, and web app manifest. Keep .env API and WebSocket overrides for deployments whose service endpoints differ from the public brand domain.