Sample Node.js website
A counter book that runs on Express — ready for Hostinger.
This is a small café guestbook: a public page, a JSON API, and a
long-lived Node process that binds to
process.env.PORT. Push the repo to GitHub, then deploy it
as a Node.js web app in hPanel.
Leave a note
Messages are stored in memory on the server. They reset when the process restarts.
The board
0 notesAPI
These routes run on the same Express process.
GET /api/health— process statusGET /api/messages— guestbook JSONPOST /api/messages— add a note