Skip to content
/ zms Public

Application to generate and send OTPs through web APIs. This uses a mobile app that needs to open at all times in order for the app to work...

Notifications You must be signed in to change notification settings

Zo-Bro-23/zms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZMS

I am a twelve year old living in India and I designed this app to help me with another app I am building which is a food delivery app. I have uploaded the open source code hoping that many people like me will want to use this app for OTP generation and sending! This is a documentation on how to setup, install and use the app...

Don't trust your customers? Afraid they'll give you fake phone numbers? What do you do? Verify their phone numbers with OTPs, of course! But how do you do that? How can your web app or your mobile app make your phone send an SMS to their phone? There are services that do that, but why would you wanna waste so much money??

ZMS is an application designed to get rid of all those problems. You can use your own phone to send these OTPs, using ZMS. By the way, ZMS stands for Zohan Messaging Services if you're wondering. I DID not copy ZMS messaging app. Obviously! You can set up your own web API with just a few simple steps, so your OTPs won't interfere with anybody else's! Here are the steps to do so:

Download and install Node.js from its official website

Screenshot (140)

Download my program folder as a zip file

Screenshot (136)

Extract the ZIP file

Screenshot (137)

Open your command line (Command prompt or Powershell on Windows, Terminal on Linux and Mac)

Type in the command cd \yourDownloadFolder\zms-master\backend on windows or the command cd ~/yourDownloadFolder/zms-master/backend on Linux or Mac - replace yourDownloadFolder with the complete file path of the extracted folder

Screenshot (138)

Screenshot (139)

If you do not have an account in Vercel, go to https://vercel.com and create one

Type in the command npm i -g vercel in your command line

You may be prompted to type in your login information

You should still have a command line at your extracted folder

If so, type in the command

If not, use cd yourExtractedFolderPath/backend/ replacing yourExtractedFolderPath with your full path of the extracted folder

Type in the command npm install

Type in the command vercel and give the necessary details when prompted

Copy the production url to your clipboard

Download my app from here

Copy the file to your phone through your preferred method and open it (I can't upload the app to Google Play Store as it violates their policy by sending SMSs in the background)

Open the file, you may have to give permissions to the app you are trying to open it from

Open the application, and type in the domain you copied in an earlier step, leaving the https:// out

And, you're done. Just remember one thing: Don't close the app

Go to https://yourDomainName/receive?phone=yourPhoneNumber&otp=yourOTP and, you're all set. The SMS will go to the yourPhoneNumber with the OTP OTP

About

Application to generate and send OTPs through web APIs. This uses a mobile app that needs to open at all times in order for the app to work...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published