Skip to content

dev2dark/intl-tel-input-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

International telephone input validation

This project will show you one way to validate phone number inputs with the intl-tel-input library and Twilio's Lookup API. For a production use case we recommend adding phone verification, which is a best practice for collecting phone numbers from your users in order to make sure they have control of the number.

Installing

Create a .env file and add your environment variables found in the Twilio console

cp .env.example .ev

Then install the dependencies and run with npm:

npm install
npm start

Navigate to http://localhost:3000/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 82.6%
  • JavaScript 10.9%
  • CSS 6.3%
  • Shell 0.2%