whatsapp-gateway

Simple WhatsApp Gateway, Built Using Baileys, Express, Sequelize, and Mazer

GPL-3.0 License

Stars
221
Committers
1

WhatsApp - Gateway

Simple WhatsApp Gateway, Built Using Baileys, Express, Sequelize + Mazer

Note

If you want to request a feature, contact my number wa.me/6287715579966

Because there are no other features added to this free repo

Installation

Requirements

Cloning this repo

> git clone https://github.com/fawwaz37/whatsapp-gateway.git
> cd whatsapp-gateway

Use code . to open file in VS Code

> code .

Editing the file

.env Configurations


# Listening Host - socket
HOST=http://localhost:8080

# Default session name
SESSION_NAME=session_1

# If AUTO_START=y, Auto Start Session With Default name
AUTO_START=n

# It doesn't need to be replaced, it's okay
PREFIX=.
SESSION_PATH=./session
LOG_PATH=./public/log

# Configure the database, fill it with your own
DB_NAME=wa-gateway
DB_USER=root
DB_PASSWORD=
DB_HOST=localhost
DB_PORT=3306
DB_DIALECT=mysql

Installing the dependencies

> npm install

Running App

> npm start

After Start Database and Table Auto Create

Then Browse http://localhost:8080 . You will see the Dashboard.

API Docs

You Can See All Documentation Here POSTMAN