This is a simple chat application with a user-friendly interface for sending and receiving messages through WhatsApp using the green api. The client communicates with the server through HTTP requests. To retrieve messages, a request needs to be made. More details about the API's functionality can be found at the following link: green doc.
To get started with the application, you need to follow the green account, register, and obtain a token and instance.
- login
- main view
- add contact
- chat view
- message
You can receive incoming messages through HTTP API requests similar to how other methods of the Green API are implemented. It is guaranteed that the notifications will be delivered in chronological order in the same sequence they were received, following the FIFO (First-In, First-Out) principle. All incoming notifications are stored in a queue and await retrieval for up to 24 hours.
If you want to get incoming message from your contact - click "Receive" button.
More details here
In the project directory, you can run:
Typescript, React, Redux toolkit, Redux thunk, Axios.