This is the backend code of the Token Project, developed in NodeJS.
Requirements:
docker-compose build
docker-compose up -d
This will stop the backend and remove all the docker images
docker-compose down --rmi all -v
If you want to use the Live mode with Twilio, you will have to fill the variables TWILIO_SID
, TWILIO_TOKEN
and TWILIO_MESSAGE_SID
in the .env
file with the values of your credentials on your Twilio account.
You also have to configure the receive webhook
with the path {url}:4100/hooks/twilio
in your Twilio account, under the Messaging
section within the option A MESSAGE COMES IN
.
You can see the documentation of each API accessing the following URLs after starting the code locally:
http://localhost:4000/docs - Proxy
http://localhost:4100/docs - SMS Gateway
http://localhost:4200/docs - USSD Gateway
http://localhost:4300/docs - MMO
http://localhost:4400/docs - Engine
http://localhost:3700/docs - Token Solution