ConvoqDocumentation Version 1.0.0

Run the platform · Keep it running

Changing the interface

The full source of the interface is in the package. Change its texts, languages or design and build it again.

The package holds the full source of the interface in apps/web/src (React and TypeScript) next to the ready build in apps/web/dist, which is what the server sends to browsers. You need this page only to change the interface itself. The name, logo, colours and the texts of the public website are set in the admin panel without building anything: see Branding and website.

#What you need

Node.js 20 or newer on your own computer. Build there and upload the result; nothing is built on the hosting account. The build tools take about 190 MB in apps/web/node_modules and are not needed on the server.

#Build the interface

  1. Open a terminal in the apps/web folder of the package and run npm install.

  2. Make your changes in apps/web/src.

  3. To see them while you work, start the application on your computer (npm start in the main folder, with a .env file and a database), then run npm run dev in apps/web and open http://localhost:5173. Every save shows at once. The page talks to the application on http://localhost:4000; set API_URL before npm run dev to use another address.

  4. Run npm run build. It checks the code and writes a new apps/web/dist folder.

  5. Upload the new apps/web/dist folder over the old one on your server and restart the application. cPanel: Restart in Setup Node.js App. VPS: pm2 restart convoq. With Docker, run docker compose up -d --build.

#Change a text

Every text of the interface is in apps/web/src/locales, one file per language. en.json holds the English texts; the other files use the same keys. Change the value, keep the key and any {{name}} placeholders, and build.

#Add a language

  1. Copy apps/web/src/locales/en.json to a file named after the language code, for example nl.json, and translate the values.

  2. In apps/web/src/lib/i18n.ts, add a line to loaders, for example nl: () => import("@/locales/nl.json"),, and an entry to LANGUAGES, for example { code: "nl", label: "Nederlands", dir: "ltr" },. Use "rtl" for a language written from right to left.

  3. Build and upload as above. The new language appears in every language menu.

#Your changes and updates

An update replaces apps/web/src and apps/web/dist with the files of the new version. Keep a copy of your changes, for example in Git, apply them to the new version and build again.

Convoq documentation, version 1.0.0. Screens show demo data.