Commit Graph

10 Commits

Author SHA1 Message Date
Francesco Lorenzo D'Amico c4aa9ff2ef Update backend dependencies 2026-03-19 11:29:08 +01:00
Francesco Lorenzo D'Amico d525e8476d Add Docker and Nginx config for frontend, backend, and MongoDB 2026-03-19 11:27:14 +01:00
Francesco Lorenzo D'Amico c983b6c42f Build chat UI with real-time messaging and i18n 2026-03-19 11:26:24 +01:00
francesco448 19eba1eebd Add Express server with WebSocket, CORS, and room routes
Set up the HTTP server with Express, attach Socket.IO for real-time
messaging, add CORS middleware, async error handling utility, and
REST routes for room join/leave/messages/participants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 16:53:13 +01:00
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