taufikdev88 / simplewhatsappapi

Simple whatsapp api untuk microservice atau untuk layanan internal anda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Whatsapp Api

Status GitHub Issues GitHub Pull Requests License


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.

πŸ“ Table of Contents

🧐 About

TO DO

🏁 Getting Started

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.

Development

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 .

Prerequisites

You will need Docker Installed on your computer. Please take a look on the get started section.

https://www.docker.com/get-started/

Running

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

πŸš€ Deployment

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.

⛏️ Built Using

✍️ Authors

See also the list of contributors who participated in this project.

πŸŽ‰ Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

About

Simple whatsapp api untuk microservice atau untuk layanan internal anda


Languages

Language:TypeScript 67.7%Language:Pug 28.3%Language:Dockerfile 2.2%Language:CSS 1.3%Language:JavaScript 0.4%