Pre-render the pages
React Router generates each page’s HTML at build time. Products have their own URLs and metadata. In production, Hostinger serves static files and the PHP API, with no Node.js server.
Case study / 05 — Showcase website · Artisan business
An artisan showcase website, from development to automated deployment on Hostinger.
Website redesign and delivery automation
Family business · Rougemont
React Router · TypeScript · PHP · GitHub Actions · Hostinger

01 / The starting point
Le Caramel Artisanal showcases the sweets made by the Yersin-Hoffer family in Rougemont. The website presents the products, their origins and the family’s story, then lets visitors get in touch with an enquiry. It remains a showcase website, with no online shop.
02 / My contribution
I redesigned the website in React and TypeScript with React Router, responsive photographs and pre-rendered product pages. A PHP API handles contact enquiries. I also set up CI and deployment to Hostinger through GitHub Actions.
03 / Technical decisions
React Router generates each page’s HTML at build time. Products have their own URLs and metadata. In production, Hostinger serves static files and the PHP API, with no Node.js server.
GitHub Actions checks formatting, types, tests and the build. A Docker environment with Apache, PHP and Mailpit verifies routes and test emails. An isolated fixture also checks deployment and rollback scripts.
After validation, CI packages the static files and production PHP dependencies into an archive. On main, a job gated by those checks downloads that artifact and transfers it to Hostinger over SSH/rsync. Pull requests and develop run the checks without publishing.
Explanatory diagram · main → checks → artifact → Hostinger
04 / A practical challenge
Modernising the website while retaining shared React/PHP hosting. Delivery must preserve SMTP configuration, rate-limit data and unrelated files. The scripts verify files before publication, back up the existing site and retain previous assets for tabs that are already open.
05 / The result
The website is live with a product catalogue, the family’s story and a contact form. The pipeline connects checks to deployment on Hostinger, then verifies key pages, a genuine 404 response and the API without submitting the production form.