Testing Twilio integration in Nest.js API.
pnpm iCreate a .env on the model of .env.example:
cp .env.template .env
Then Add your own keys.
pnpm testEnd-to-end tests:
test:e2eWith coverage:
pnpm test:covpnpm startgit pull origin main && npm i && npm run build && pm2 restart main
https://allo-francis.jcloud-ver-jpe.ik-server.com/webhook/twilio/incoming-call
curl -X POST https://allo-francis.jcloud-ver-jpe.ik-server.com/webhook/twilio/incoming-call
In Twilio console, click on the phone number and add this URL as a value of webhook.
- Get your phone number whitelisted
- Call this number: +12202355883
- pnpm
v8.7.5 - node
v20.9.0
You can contact me via Element, Farcaster, Telegram, Twitter, Discord, or LinkedIn.