Discover phone number insights at three levels of detail using the Number Insight API in this blog post.
- Clone the repository:
git clone https://github.com/Vonage-Community/blog-number_insights-javascript_node-three_levels_of_phone_number_insights_and_identification
- Install the dependencies:
npm install
- Set up the Environment Variables:
- The project includes a
.env.example
file to help you set up environment variables. - Make a copy of
.env.example
and name it.env
in your project root. - Open the new
.env
file and add your Vonage API credentials:VONAGE_API_KEY=your_vonage_api_key VONAGE_API_SECRET=your_vonage_api_secret
- Replace
your_vonage_api_key
andyour_vonage_api_secret
with your credentials from the Vonage Dashboard.
- The project includes a
- Run the server:
npm run dev
- Access the app: http://localhost:3000
To learn more, check out the blog post Three Levels of Phone Number Insights and Identification on the Vonage blog.