Random phone number generator is a CLI application that allows you generate random 10 digit mobile numbers each starting with zero. Along with generating the mobile numbers, it does the following:
- All mobile numbers generated overtime are persited to a file in the current working directory.
- All mobile numbers generated are unique in relation to all previously generated and persisted mobile numbers.
To be able to use the application locally, the following are required:
This can be easily installed locally through these steps:
- Clone the repository locally
- Run
npm install
to install dependent Node packages - Run
node index.js --help
to view all command and option available - Run
node index.js <command> <--option1> <--option2>
to perform a specific command
This application can be tested locally by running npm test
- Fork this repository to your GitHub account
- Clone the forked repository
- Create your feature branch
- Commit your changes
- Push to the remote branch
- Open a Pull Request
- Setup Version Control System
- Setup CI/CD using Travis for builds and Coveralls for coverage reporting
- Add Unit tests
- Implement core modules - Generator, Repo, and Util
- Add entry cli module
- Add options to allow truncating/paginating through command results
- Setup code style linting checks
- More research and improve unique random number generation algorithm
- Expose Rest conforming API
- Improve UI/UX - Switch from CLI to Web UI
random-phone-number-generator is implemented using a number of technologies, these include: