Built end-to-end by Claude.
A small demo: a subdomain, a MySQL database, a PHP API and this page, all set up through the Hostinger API without opening hPanel.
Three layers, one test.
Each layer runs on your Hostinger plan. The database test below goes through all of them.
Animated front-end
Hand-written HTML, CSS and canvas. No frameworks and no image files: every graphic is SVG or code.
PHP JSON API
A small endpoint with prepared statements, input checks and errors that don't expose the database details.
MySQL database
A dedicated database and user. The table is created on first connection, and the credentials sit in a folder the web server won't serve.
Does the database work?
Press the button. The page calls the API, the API queries MySQL, and the real results come back.
Not tested yet
Test log
read → write → read → deleteThe full test inserts a temporary row, reads it back to confirm it was saved, then deletes it.
Guestbook
Leave a message. It's saved in MySQL, so it will still be here after you reload the page or open it on another device.
How it works
POST /api.php?action=add → a prepared INSERT into the messages table.GET /api.php?action=list → the latest 50 rows.
Hover a note and press × to delete it.