Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vishalvoid/mobile-otp-validation-using-nodejs
https://github.com/vishalvoid/mobile-otp-validation-using-nodejs
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vishalvoid/mobile-otp-validation-using-nodejs
- Owner: vishalvoid
- Created: 2023-06-05T12:13:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-05T12:26:14.000Z (over 1 year ago)
- Last Synced: 2024-11-06T13:12:29.525Z (about 2 months ago)
- Language: JavaScript
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Send and verify sms using Node.js Express.js Mongo & Fast2SMS
create `config/config.env` in your project root
```
FAST2SMS_API_KEY=
PORT=
MONGO_URI=```
## Api Documentation
/api/v1/signup
```
{
"phone":"your phone number"
}
```/api/v1/verifyOtp
```
{
"phone":"your phone number",
"otp":"your otp"
}```