← back to projects

LeLangueBuddy

Live · 2026

Full-stack app I built to practise French. A searchable phrase dictionary with browser speech pronunciation, a writing space with word counts and prompts, and a daily dashboard that tracks study streaks. Multi-user with sign-in, so every query is scoped to the signed-in account.

Open the app ↗

Sign-in required — it holds real study data.

7

What it does

Engineering notes

Decisions, and why

SQLite first, Postgres once it had to be shared

It started on local SQLite because nothing needed a server. Going multi-user meant hosted Postgres, so I migrated the data with a one-time script and kept the old file as a backup.

Tests run against a real database branch

The end-to-end API tests run on a separate database branch that is emptied each run, with a guard that refuses to start if its connection string matches the real one. Real Postgres in tests means what passes is what ships.

The study day comes from the browser

The API runs in UTC, so a streak computed server-side would roll over at the wrong hour. The client sends its own local day instead, and the streak follows the person rather than the server.

Counting in the database, not the client

Pages were downloading every phrase and writing just to count them. Word counts became a generated column and the totals moved behind a stats endpoint.

Built with

ReactViteNode.jsExpressPostgreSQL (Neon)Neon AuthVercel