XR-SwissInvest marketing site, ready to publish on Infomaniak (Node.js hosting)
or any host that runs Node.js 24+. The site itself is static — the included
server.js is just a tiny zero-dependency static file server, so you can also
host the contents of public/ directly on shared hosting if you prefer.
xavier-new/
├── public/ ← the actual website (static files)
│ ├── index.html
│ ├── support.js
│ └── assets/
│ ├── logo-light.png
│ ├── logo-dark.png
│ └── xavier.webp
├── server.js ← tiny Node.js static server
├── package.json ← engines: node >= 24
├── .node-version ← "24"
├── .nvmrc ← "24"
├── .gitignore
└── README.md
No dependencies — npm install is optional. The server uses only Node's
built-in modules.
node --version # should print v24.x.x or v25.x.x
npm start # → http://localhost:3000Or with live reload while editing:
npm run devInfomaniak Cloud Server / Public Cloud / Web hosting with Node.js support:
- Upload the project (everything in this folder) via FTP / SSH / Git to your site's root directory.
- In the Infomaniak Manager → Hosting → Sites → Node.js, choose your site
and set:
- Node.js version:
24(or25if available) - Application root: the folder where you uploaded these files
- Application entry point / startup file:
server.js - Start command:
npm start
- Node.js version:
- Infomaniak sets
process.env.PORTautomatically —server.jsreads it. - Save / restart the application from the manager.
The site will then be served at your configured domain.
Tip: if Infomaniak's Node.js version selector tops out below 24, pick the highest available LTS (22) —
server.jsonly uses APIs available since Node 18, so it will still run. But Node 24 is recommended.
If you're on classic shared hosting (Apache, no Node.js), you don't need
server.js at all:
- Upload the contents of
public/(not the folder itself) to your site root (usuallyweb/orpublic_html/). - Done —
index.htmlis served directly.
- Create a new repo on GitHub.
- From this folder:
git init git add . git commit -m "Initial commit" git branch -M main git remote add origin git@github.com:<you>/xavier-new.git git push -u origin main
- On Infomaniak, link your site to the GitHub repo (Manager → Hosting → Git) and set the same Node.js settings as above.
- The site is fully self-contained client-side; there are no API endpoints or databases to configure.
- Fonts are loaded from Google Fonts and the map tiles from OpenStreetMap via Leaflet (loaded over HTTPS). No build step is required.