# Des cadeaux qui font plaisir

*The family gift list, where everyone can reserve and nobody needs an account.*

A personal project by Mathieu Hardy, 2026, built for himself and his family. Not client work. Private repository (it is my children's wish list). Web page: https://hardy.digital/projects/liste-de-cadeaux/

## The job

When the family asks what the kids would like for Saint-Nicolas, I want one page where each of them can reserve a gift, so nothing is bought twice and I stop being the switchboard.

## In numbers

- 12: files in the whole repository
- 1: JSON file to edit day to day
- ~1 min: from a push to live

## Made with

Cloudflare Workers, D1, JavaScript, HTML.

## What it does

One page, built for phones, with a list per person. A grandparent opens it, taps a gift, types a first name, and the gift is taken. Bigger presents can be shared between several people. If someone has their own idea, they can say so, so the rest of the family knows.

The first visit starts with a welcome and a short video of how it works, because the people using it did not ask for a new app.

## How it is made

- **A Worker and a database, nothing else.** One Cloudflare Worker with a D1 database. The Worker creates its own tables on first run. There is no framework and no build step.
- **Content is one file.** The gifts, the occasions and the people live in a single JSON catalogue. Adding a scooter helmet is a commit, and the site is updated about a minute later.
- **Reservations are sacred.** They live in the database, and a redeploy never touches them. When Christmas follows Saint-Nicolas, gifts already given stay taken and the rest roll over.
- **Rules a family understands.** Only the name that reserved a gift can release it. A parent has an admin page with the full log for everything else.

## Worth noticing

It is the smallest thing on this page, and probably the one with the most users per line of code. Not every job needs a product. Some need 209 lines of Worker.
