Skip to content

knaxus/sms-otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send OTP to your contacts

  • This is a simple web application to send OTP to your saved contacts.
  • This has 2 menus 'Home' - The main page and 'Sent Messages' - Where you can view all the sent messages.

How to Setup?

  • Download and install NodeJS and MongoDB.
  • Clone this repository.
  • In the terminal, type npm install & npm start to setup and run the application.

How to Test?

Open terminal, type npm run test-watch, there are in total 14 test cases which should pass.

Libraries Usesd

  • I have used the Twilio API to send the OTP messages.
    • The API credentials are saved in a JSON file inside app/configs/credentials.json

Tools and Libraries Used

  • I used the following
    • Code Editior : VS Code
  • Librariies:
    • Express, body-parser, EJS, Ldash, Mongoose, Mongodb, Twilio, Validator
    • Mocha, Supertest and Expect is used for testing.

Screenshot

  • Application UI

    • Screenshot
    • Screenshot
    • Screenshot
    • Screenshot
    • Screenshot
    • Screenshot
    • Screenshot
    • Screenshot
  • Test Cases

    • Screenshot

Credits

  • Icons are taken from : Flaticon and are Made by Freepik, Licensed under CC 3.0

About

A simple contact app with OTP SMS sending

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published