Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faisalfjri/baileys-express
Implementation example of Baileys with Express
https://github.com/faisalfjri/baileys-express
baileys whatsapp-api whatsapp-bot
Last synced: about 1 month ago
JSON representation
Implementation example of Baileys with Express
- Host: GitHub
- URL: https://github.com/faisalfjri/baileys-express
- Owner: faisalfjri
- License: mit
- Created: 2024-06-14T10:10:35.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-14T10:25:46.000Z (5 months ago)
- Last Synced: 2024-09-27T14:03:36.446Z (about 2 months ago)
- Topics: baileys, whatsapp-api, whatsapp-bot
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Baileys and Express
Hi, this is the implementation example of WhiskeySockets/Baileys
### How to use?
- Clone or download this repo
- Enter to the project directory
- Run `npm install`
- Run `npm start`
- Open browser and go to address `http://localhost:3000`
- Scan the QR Code
- Enjoy!### Send message
Send a Message via HTTP: You can now send WhatsApp messages by making a POST request to http://localhost:3000/send-message with a JSON body containing the number and message fields.
For example, using curl:
```bash
curl -X POST http://localhost:3000/send-message -H "Content-Type: application/json" -d '{"number": "1234567890", "message": "Hello from Baileys and Express!"}'
```