Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Operation ====== === Server === Dedicated: WhatsappTemplates (ID: i-072df39da22f6bd3d)\\ Directories: ''/home/admin/ocme-it''\\ OS: ***TO DO***\\ SSH login: admin@52.28.158.203\\ Hours of operation: 24/7 ---- ==== Folder structure ==== This is the ocme-it folder, it's the same for the others (ocme-au, ocme-us, ecc) <code> ├── node_modules ├── db.js ├── index.js ├── it-private.key ├── package.json ├── package-lock.json ├── yarn.lock └── yarn-error.log </code> ---- === db.js === Information about the sql connection to the database in which are stored the sent templates. ---- === index.js=== 3 endpoints are exposed via Express: * ''/send_templates'': connects to the Voange API to send WhatsApp templates and saves the information to a "private" database for retrieval on the "Debug" page * ''/status'': every time the message status changes, this endpoint is invoked by Vonage, and the "private" database is also updated * ''/messages'': query the "private" database to retrieve all WhatsApp templates to display them in the table on the "debug" page. ---- === it-private.key === Vonage Private Key ---- === pm2 config === ***TO DO*** --- //[[luca.bottoli@becloudsolutions.com|Luca Bottoli]] 2026/07/31 00:00// be360/ocme/backend/send_templates.txt Last modified: 2026/07/31 09:24by luca.bottoli