Free simple whatsapp api for notify your client or validate your client's phone number.
Based on [whiskeysockets/baileys](https://github.com/WhiskeySockets/Baileys) project.
TO DO
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Build docker image for multi platform
- Create new builder if it doesn't exist yet
#!/bin/bash
docker buildx create --name mybuilder --use --bootstrap
- Trigger the build using buildx for multi-arch
#!/bin/bash
docker buildx build --platform linux/amd64,linux/arm64 -t docker-image-name:tag-version --push .
You will need Docker Installed on your computer. Please take a look on the get started section.
https://www.docker.com/get-started/
Running services on local.
Using Docker
#!/bin/bash
docker run -p 80:80 -e SESSION_SECRET=StrongSessionSecret -e DB_CONNECTION_STRING=mongodb://localhost:27017/swa -v ./data:/app/data taufikdev88/simplewhatsappapi
You can deploy using docker-compose file or using kubernetes as a internal service. Don't publish port to external network because this service has no authentication/authorization method configured.
- @taufikdev88 - Idea & Initial work
See also the list of contributors who participated in this project.
- Hat tip to anyone whose code was used
- Inspiration
- References