User Tools

Site Tools


be360:ocme:frontend

This is an old revision of the document!


Operation

Server

Dedicated: WhatsappTemplates (ID: i-072df39da22f6bd3d)
Directories: /var/www/ocme
OS: *TO DO*
SSH login: admin@52.28.158.203
Hours of operation: 24/7


Folder structure

├── dist
├── node_modules
├── public
├── src
│   ├── assets
│   |   ├── aus.png
│   |   ├── bg.jpg
│   |   ├── bg.png
│   |   ├── bra.png
│   |   ├── eng.png
│   |   ├── fra.png
│   |   ├── ita.png
│   |   ├── mex.png
│   |   ├── sou.png
│   |   ├── spa.png
│   |   ├── tha.png
│   |   └── usa.png
│   ├── components
│   |   ├── InputPhone.jsx
│   |   ├── Message.jsx
│   |   ├── style.css
│   |   ├── Template.jsx
│   |   └── Title.jsx
|   ├── pages
│   |   ├── Aus.jsx
│   |   ├── Bra.jsx
│   |   ├── Debug.jsx
│   |   ├── Eng.jsx
│   |   ├── Fra.jsx
│   |   ├── Ita.jsx
│   |   ├── Mex.jsx
│   |   ├── Sou.jsx
│   |   ├── Spa.jsx
│   |   ├── Tha.jsx
│   |   └── Usa.jsx
|   ├── App.css
|   ├── App.jsx
|   ├── index.css
|   ├── lang.json
│   └── main.jsx
├── index.html
├── package.json
└── README.md
└── vite.config.js
└── yarn.lock

dist

Folder that contains the build of the project. To run the build enter /var/www/ocme and run

yarn build
cp -r /var/www/ocme/dist/* /var/www/wa-template.beincontact.becloudsolutions.com/
systemctl restart apache2

src

These folders contain the files for building the project's frontend. The web page consists of routes corresponding to each of Ocme's WA accounts (Italian, English, American, etc.), plus a debug page and an unflag page.


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
  • * navigate to the debug page
  • * navigate to the unflag pages
  • Central section for sending WhatsApp templates, featuring:
  • * picklist to select the template language
  • * message text
  • * box to enter the recipient's number
  • * send button.

Debug page

Unflag page

Apache config

*TO DO*


Active cronjobs

*TO DO*

Luca Bottoli 2026/07/30 00:00

be360/ocme/frontend.1785408111.txt.gz · Last modified: by luca.bottoli

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki