Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| be360:ocme:frontend [2026/07/30 10:17] – luca.bottoli | be360:ocme:frontend [2026/07/30 10:51] (current) – luca.bottoli | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Dedicated: WhatsappTemplates (ID: i-072df39da22f6bd3d)\\ | Dedicated: WhatsappTemplates (ID: i-072df39da22f6bd3d)\\ | ||
| Directories: | Directories: | ||
| - | OS: *LORENZO*\\ | + | OS: ***TO DO***\\ |
| SSH login: admin@52.28.158.203\\ | SSH login: admin@52.28.158.203\\ | ||
| Hours of operation: 24/7 | Hours of operation: 24/7 | ||
| Line 60: | Line 60: | ||
| ---- | ---- | ||
| - | === app.js | + | === dist === |
| - | Application code. It create | + | Folder that contains the build of the project. |
| - | Sample request: | + | To run the build enter '' |
| < | < | ||
| - | POST https://wabfimmdemo.ccaas.becloudsolutions.com/webhook/image | + | yarn build |
| - | { | + | cp -r /var/www/ocme/dist/* /var/ |
| - | " | + | systemctl restart apache2 |
| - | " | + | |
| - | } | + | |
| </ | </ | ||
| - | On request, it add " | ||
| - | \\ | + | ---- |
| + | === src === | ||
| + | These folders contain the files for building the project' | ||
| - | === Storage === | + | ---- |
| - | Contains images that are gonna to be sent in the FTP connection. | + | === Italian, English, American, etc. page == |
| + | This page is composed of two sections: | ||
| + | * On the top left 3 picklists respectively to navigate to the pages of other WA accounts or to the debug page or to the unflag pages | ||
| + | * Central section for sending WhatsApp templates, featuring: picklist to select the template language, message text, box to enter the recipient' | ||
| - | \\ | + | ---- |
| + | === Debug page === | ||
| + | The debug page is used to monitor the progress status of WhatsApp templates sent from the various accounts. | ||
| + | Here, too, there are picklists in the top-left corner and a central section. | ||
| + | The table allows searching based on information in any of the columns, includes a " | ||
| - | === uploadFtp.sh | + | ---- |
| - | Bash script that upload | + | === Unflag page === |
| - | It runs with a [[https://en.wikipedia.org/ | + | The unflag page is used to remove the " |
| - | It also handle logs creation and clear '' | + | The table offers the same functionality as the one on the debug page but displays all contacts in MongoDB/BeTracker that have the " |
| - | \\ | + | ---- |
| - | + | === Apache | |
| - | === Certs === | + | ***TO DO*** |
| - | Contains certificates to enable https endpoint in '' | + | |
| - | To create: | + | |
| - | < | + | |
| - | openssl req -nodes -new -x509 -keyout server.key -out server.cert | + | |
| - | </ | + | |
| - | + | ||
| - | \\ | + | |
| - | + | ||
| - | === wab.log === | + | |
| - | Pm2 log file. Every hour is cleaned by '' | + | |
| - | + | ||
| - | \\ | + | |
| - | + | ||
| - | === Logs === | + | |
| - | Contains hourly logs for both FTP and webhooks interactions. | + | |
| - | + | ||
| - | \\ | + | |
| - | + | ||
| - | === node_modules, | + | |
| - | Standard [[https:// | + | |
| - | + | ||
| - | \\ | + | |
| - | + | ||
| - | === Nginx config === | + | |
| - | Located at ''/ | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | + | ||
| - | \\ | + | |
| + | ---- | ||
| === Active cronjobs === | === Active cronjobs === | ||
| - | | + | ***TO DO*** |
| - | | + | |
| - | * For each Fimm's customer there is a separated cronjob '' | + | |
| - | + | ||
| - | \\ | + | |
| - | --- //[[lorenzo.cesana@becloudsolutions.com|Lorenzo Cesana]] 2024/03/26 09:25// | + | --- //[[luca.bottoli@becloudsolutions.com|Luca Bottoli]] 2026/07/30 00:00// |