dimaskiddo / go-whatsapp-rest

Go WhatsApp Implementation in REST API
130 stars 44 forks source link
api go golang rest server whatsapp whatsapp-api whatsapp-web

Go WhatsApp Implementation in REST API

This repository contains example of implementation Rhymen/go-whatsapp package. This example is using a codebase from dimaskiddo/codebase-go-rest-lite.

Warning

Since WhatsApp is migrating to Multi-Device support then this repository might be unusable in the future. For Go WhatsApp REST with Multi-Device support please visit the new repository dimaskiddo/go-whatsapp-multidevice-rest

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Prequisites package:

Optional package:

Installing

Below is the instructions to make this codebase running:

Running The Tests

Currently the test is not ready yet :)

Deployment

To build this code to binaries for distribution purposes you can run following command:

make release

The build result will shown in build directory Or use Docker Images available in dimaskiddo/go-whatsapp-rest

API Access

You can access any endpoint under ROUTER_BASE_PATH configuration by default located at /api/v1/whatsapp. Configuration files are located in share/etc directory.

Built With

Authors

See also the list of contributors who participated in this project

Annotation

You can seek more information for the make command parameters in the Makefile