Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"
}

```