- Framework : Laravel 8 & VueJs 2
- API Server : @ookamiiixd/baileys-api
- Enter to the backend project directory
cd frontend-vue
. - Execute
npm i
to install the dependencies. - You can start the app by executing
npm run serve
- Now the endpoint should be available according to environment variable settings at
http://localhost:5000
.
- First clone or download this repository:
git clone https://github.com/erickchann/whatsapp-server.git
- Enter directory project
cd backend-laravel
- Execute
composer install
to install the dependencies. - Setting the database configuration, rename
.env.example
to.env
and open file at project root directory or executecp .env.example .env
DB_DATABASE=**your_db_name**
DB_USERNAME=**your_db_user**
DB_PASSWORD=**password**
- Setting the URL backend server configuration, open
.env
file at project root directory
URL_WA_SERVER=http://localhost:8000
- Run the following command at the terminal:
php artisan migrate:fresh --seed
- Run laravel
php artisan serve --port=3000
Simple RESTful WhatsApp API by @ookamiiixd/baileys-api .
- Enter to the backend project directory
cd backend-express
. - Execute
npm i
to install the dependencies. - You can start the app by executing
npm run start
ornode .
. - Now the endpoint should be available according to your environment variable settings. Default is at
http://localhost:8000
.
The API documentation is available online at here. You can also import the Postman Collection File (postman_collection.json)
into your Postman App alternatively.
The server will respond in JSON format:
{
success: true|false, // bool
message: "", // string
data: {} // object
}
- Send chat
- Send brodcast