Logo

dev-resources.site

for different kinds of informations.

Find Valid Phone Numbers, Anywhere!

Published at
4/10/2020
Categories
api
phone
numbers
Author
ameedjamous
Categories
3 categories in total
api
open
phone
open
numbers
open
Author
11 person written this
ameedjamous
open
Find Valid Phone Numbers, Anywhere!

This small react project uses TCXC API to get valid phone numbers anywhere in the world. Just pass any country prefix (CC+Area Code) and the API will give you a few random numbers. It'll give you more numbers each time to you click "Get More".

LIVE DEMO: https://tools.telecomsxchange.com

Install & Customize Locally

Backend SERVER APP

Local Setup

  • Clone the project
  • run command: yarn
  • run command: TELE_USER_NAME=BUYERUSERNAME TELE_USER_PASSWORD=API-KEY node app.js
  • run command: yarn start

Deploy to Heorku

  • git clone the repo
  • cd /react-apps-getnumbers
  • create app on heroku http://heroku.com
  • heroku git:remote -a app-name (check this on heroku page)
  • git push heroku master
  • set config vars on heroku

In Terminal:
Command: heroku config:set TELE_USER_NAME={TelecomsXchange Username}
Command: heroku config:set TELE_USER_PASSWORD={TelecomsXChange API Key}

To make sure variables are correct set:

run command: heroku config

FRONTEND APP

  1. create .env by copying .env.example
  2. Set the backend environment variable URl (For the backend)
  • run this command or put this in package.json

Deploy Front end to Netlify

  • cd to the project root
  • Update the .env URL variable to the public backend URL
  • run command: yarn
  • run command: yarn build
  • cd build
  • Deploy to Netlify

Rebranding

To rebrand this app using your logo and own favicon, follow below steps:

  • rename your company logo to logo.png
  • drag and drop it to the src folder
  • generate a favicon from your logo at http://favicon-generator.org
  • download favicon and rename it to favicon.ico
  • drag and drop favicon.ico in /public folder
  • run command: yarn build
  • deploy to Netlify
numbers Article's
29 articles in total
Favicon
Leetcode โ€” 3289. The Two Sneaky Numbers of Digitville
Favicon
Master Number Conversions with Ease: From Binary to Hexadecimal & More!
Favicon
Leetcode โ€” 2769. Find the Maximum Achievable Number
Favicon
Leetcode โ€” 3190. Find Minimum Operations to Make All Elements Divisible by Three
Favicon
Floating Point Representation (IEEE 754 ISSUE)
Favicon
Error in Javascript
Favicon
Million day archivio
Favicon
Exploring the Mystical Language of Numbers.
Favicon
How to Check if a Value is Within a Range of Numbers in JavaScript
Favicon
BINARY NUMBERS
Favicon
Prime Numbers โ€“ Definition with Examples
Favicon
Generator Random Numbers
Favicon
Binary representation of numbers
Favicon
Get all separate digits of a number (TypeScript)
Favicon
The fascinating diagonals of Pascal's Triangle
Favicon
Convert long numbers to string
Favicon
Patterns in the multiples of 2, 5, 10 and 3
Favicon
Your startup & the conspiracy of numbers
Favicon
Teaching the computers to write number names using JavaScript
Favicon
Learn Bash by making a game
Favicon
Convert Decimal to Binary for IOT Product With Vue.js
Favicon
Hunt some strange numbers with Python.
Favicon
Generate unique (non-repeating) random numbers
Favicon
Developer 2021 - Projections based from Stack Overflow's 2020 Developer Survey
Favicon
Learn Python: Numbers
Favicon
Find Valid Phone Numbers, Anywhere!
Favicon
Quick vim tips to generate and increment numbers
Favicon
What is the type of NaN?
Favicon
Recreating Excelโ€™s ISNUMBER in a Numbers Spreadsheet

Featured ones: