Git Product home page Git Product logo

javadnikbakht / drf-custom_mobileotp_auth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from satyarth12/drf-custom_mobileotp_auth

0.0 0.0 0.0 37 KB

This project is basically built for allowing user to Sign-In/Sign-Up by token based authentication system, using knox package. This will allow a user to do multi login on different devices with certain expiry. Also, when signing-up, a user would be able to receive an OTP to verify their phone number as username.

License: GNU General Public License v3.0

Python 100.00%

drf-custom_mobileotp_auth's Introduction

DRF - Custom user mobile OTP Authentication System

Introduction

This is django-rest-framwork custom mobile otp authentication system, which can be used in multiple use cases for allowing the users to register themselves with the mobile OTP they receive . Users can also update their profile.

Urls

Custom Urls have been used and can be seen in progress via POSTMAN or by connecting it to some frontend framwork.

Running app

  1. activating the pip virtual env
pipenv shell
  1. Installing packages
pipenv install -r requirements.txt
  1. Making Migrations
python manage.py makemigrations
python manage.py migrate
  1. Running server
python manage.py runserver

NOTE :

Third party apps such as twillio or any other messaging apps can be used for sending the OTP. Here, I've used a simple function to generate OTP in the local server.

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.