https://github.com/fawwaz37/whatsapp-gateway
Simple WhatsApp Gateway, Built Using Baileys, Express, Sequelize, and Mazer
https://github.com/fawwaz37/whatsapp-gateway
api expressjs mysql nodejs sequelize whatsapp-bot whatsapp-gateway
Last synced: over 1 year ago
JSON representation
Simple WhatsApp Gateway, Built Using Baileys, Express, Sequelize, and Mazer
- Host: GitHub
- URL: https://github.com/fawwaz37/whatsapp-gateway
- Owner: fawwaz37
- License: gpl-3.0
- Created: 2022-09-16T10:25:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T08:24:58.000Z (about 2 years ago)
- Last Synced: 2025-03-29T22:04:52.502Z (over 1 year ago)
- Topics: api, expressjs, mysql, nodejs, sequelize, whatsapp-bot, whatsapp-gateway
- Language: JavaScript
- Homepage:
- Size: 2.13 MB
- Stars: 253
- Watchers: 8
- Forks: 172
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **WhatsApp - Gateway**

Simple WhatsApp Gateway, Built Using Baileys, Express, Sequelize + [Mazer](https://github.com/zuramai/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
- [Node.js](https://nodejs.org/en/)
- [Git](https://git-scm.com/downloads)
- [VS Code](https://code.visualstudio.com/download) or Any Text Editor
## Cloning this repo
```cmd
> git clone https://github.com/fawwaz37/whatsapp-gateway.git
> cd whatsapp-gateway
```
Use `code .` to open file in VS Code
```cmd
> code .
```
## Editing the file
`.env` Configurations
```env
# 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
```cmd
> npm install
```
## Running App
```cmd
> 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