GithubHelp home page GithubHelp logo

-bankaksapi's Introduction

-BankaksAPI

verify using otp| messagebird API

-BankaksAPI

verify using otp| messagebird API #TASK

  1. Public endpoints for user sign-up and user login. The required inputs will be mobile number and password. The response of both APIs should have a JWT token or any other data for authentication. You can implement the Authentication approach you are must familiar with.

  2. A post endpoint to add contacts by providing their name and mobile number. Before saving the contact in the database, you should make a call to Message Bird Lookup API1 in order to validate that the number is valid and only save it if it is. This endpoint should be secured, meaning that only authenticated users will be able to save contacts.

Use this API

  1. clone it
  2. npm install
  3. npm start

#Routes

  1. SignUp http://localhost:8000/signup

  2. login http://localhost:8000/login

  3. unauthorized http://localhost:8000/login

4.user has been verified http://localhost:8000/user/profile?secret_token="key"

you will get the response after sending the OTP, only authorized user will recieve the otp and verify the number.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.