run npm install
to install dependencies of this project, and then run npm start
to start the server
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
run docker compose up -d