Commit Graph

6 Commits

Author SHA1 Message Date
francesco448 e0d53d6e74 Add data layer with MongoDB and JSON fallback store
Introduce database config, MongoDB and JSON store implementations,
and a datastore factory that connects to MongoDB by default and falls
back to a local JSON file when MongoDB is unavailable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 16:52:34 +01:00
francesco448 3e3fa11951 Add centralized error messages and validation utils
Introduce errorMessages.js with i18n translation keys for all
user-facing errors (form, connection, API) and validators.js with
reusable validation functions that reference those keys.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 16:48:34 +01:00
francesco448 66280e7b7c Set up i18next with German translations
Initialise i18next and react-i18next, add the German translation file
(locales/de/translation.json), and import the i18n config in main.jsx
so it is available before the app renders.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 16:45:46 +01:00
francesco448 fc8f8385bd Remove node_modules from repo 2026-03-17 14:09:10 +01:00
Francesco Lorenzo D'Amico ec8e878166 Update .gitignore file 2026-03-17 14:03:06 +01:00
francesco448 0a448b1250 first commit 2026-03-14 14:59:41 +01:00