Skip to content
N/H
All projects

Case study / 05 — Showcase website · Artisan business

Le Caramel Artisanal.

An artisan showcase website, from development to automated deployment on Hostinger.

Contribution

Website redesign and delivery automation

Context

Family business · Rougemont

Technologies

React Router · TypeScript · PHP · GitHub Actions · Hostinger

The public Le Caramel Artisanal homepage.
The public Le Caramel Artisanal homepage.

01 / The starting point

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

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

01

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.

02

Check before delivering

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.

03

Deploy the same artifact

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.

LE CARAMEL ARTISANAL / CI/CD
GitHub ActionsChecks
ArtifactReact + PHP
HostingerSSH / rsync

Explanatory diagram · main → checks → artifact → Hostinger

Delivery diagram: GitHub Actions checks, a React/PHP artifact and SSH/rsync transfer to Hostinger.

04 / A practical challenge

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 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.

Visit the websitePrivate source code
Next projectArbeauté