This is a WhatsApp chatbot project developed in Typescript using NestJS, which consumes the wppconnect-server API. This README provides essential information for setting up the project.
Commands ping and commands | Commands help and sticker |
---|---|
Before running the project, follow these steps:
-
Clone the repository.
-
Create a
.env
file based on the provided.env.example
file in the repository. Fill in the recommended environment variables with appropriate values.Note: Some environment variables present in
.env.example
are optional, but it is recommended to fill in all of them.
To run the project, you can use Docker Compose with the background mode:
docker compose up -d
Please note that currently, all strings in the chatbot are in Brazilian Portuguese, and there is no language preference handling for users yet.
- WPPConnect-MultiClient, which showed me that wppconnect-server actually has socket support.
- Kien Nguyen Ngoc, who wrote this article that helped me to implement socket handling in NestJS
- openapi-typescript-codegen, which made it a lot easier to use the REST API of wppconnect-server