This directory contains the scaffolded files for the "Twilio Forge: Access Granted" workshop. You will implement the Twilio API calls in these files as you follow along with the workshop.
lookup.js- Implement Twilio Lookup API routes (basic lookup, line type intelligence, SMS pumping risk)verify.js- Implement Twilio Verify API routes (send and validate verification codes)server.js- Pre-configured Express.js server (no edits needed)/public/- Pre-built UI for testing your implementation
-
Make sure you've installed the dependencies from the root directory:
cd .. npm install -
Copy the
.env.examplefile from the root directory to.envand update it with your Twilio credentials:cp ../.env.example ../.env -
Start the server:
node server.js -
Access the application at
http://localhost:3000
If you get stuck, you can check the complete implementation in the ../final/ directory.
For detailed instructions, refer to the RUNBOOK.md in the root directory.