cat projects/stephane-k-dev.md
stephane-k.dev
The site you're reading: portfolio, blog and contact form, fully driven from an admin interface, in French and English.
- Languages
- 2Languages
- Third-party trackers
- 0Third-party trackers
- Backend tests
- 60+Backend tests
- Documented API
- OpenAPIDocumented API
Challenge
A personal site must be able to change without redeploying, stay fast and well indexed, and cost its visitors nothing in privacy.
Solution
A server-rendered Nuxt front end consuming a Laravel API through a proxy, a Filament back office, and a zero-downtime containerised deployment.
Result
All content can be changed without touching the code, the API is automatically documented and tested, and no third-party service tracks visitors.
cat decisions.md
01The browser never talks to the backend
Context — The front end and the API are hosted separately.
Why — The Nuxt server proxies /api: no CORS to manage, the backend URL is never exposed, and the visitor's real IP is forwarded for rate limiting.
02API-driven content
Context — Content changes more often than code.
Why — Everything is edited in the admin without redeploying; the front end keeps fallback data if the API doesn't respond.
03An automatically documented and tested API
Context — The front end depends on a contract that must stay stable.
Why — OpenAPI documentation is generated from the code, and tests and static analysis run before every deployment.
04Bilingual end to end
Context — The site is for French- and English-speaking readers.
Why — Translations are stored in the backend, English URLs are prefixed with /en, and a language without an image falls back to the other's.
05Privacy by design
Context — A personal site has no need to track its visitors.
Why — No trackers, self-hosted font and icons, and readers counted by fingerprint without ever storing an IP address.
06Zero-downtime deployment
Context — A release must never take the site down.
Why — Docker Swarm behind Traefik: the new version starts before the old one stops, with automatic rollback, and migrations run on startup.
cat description.md
The front end and the API are two separate applications, each deployed as a Docker Swarm stack behind Traefik.
Content (profile, projects, articles, career) lives in the backend; the front end keeps fallback data so it stays usable if the API doesn't respond.
cat stack.json
Role — design, development, deployment
Period — 2026
Status — in production
Zone — web, bilingual
./contact.sh
Got a similar project in mind?
Let's talk about your architecture or development needs.
30-minute call, no commitment · or send a message