Skip to content

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

License

Notifications You must be signed in to change notification settings

fawwaz37/whatsapp-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp - Gateway

Img Dashboard

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

Stars Forks

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.

Img Dashboard

API Docs

You Can See All Documentation Here POSTMAN