Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 963 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 963 Bytes

Installation

run npm install to install dependencies of this project, and then run npm start to start the server

Authentication

Method Path Required JSON Body
GET /login
POST /login
POST /logout
POST /send-message {phone_number: 62821XXXX, message: "Your message here"}

Read API DOCS for detail request.

*note: generate random JWT with random payload, with the same key as JWT_SECRET on your .env to secure your API, Click here to generate JWT

Running On Docker

run docker compose up -d