Metadata-Version: 2.1
Name: django-message
Version: 1.0
Summary: A Django app for telecom system.
Home-page: http://127.0.0.1:8000/telecom/
Author: Prabhat Mishra
Author-email: mishraa.prabhat@gmail.com
License: BSD-3-Clause
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: Django (>=3.2)

========
Message
========

Message is a Django app that is used in REST APIs to send OTP on user mobile 
number and verify the OTP entered by user.

Quick start
-----------

1. Add "telecom" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'telecom',

    ]

2. Include the telecom URLconf in your project urls.py like this::

    path('telecom/', include('telecom.urls'), name='telecom'),

3. Send POST request http://127.0.0.1:8000/telecom/send-otp/ to send otp on user mobile::
    {

     "telecom": "mobile number" #+9134454343
     "channel": "sms"

    }

4. Send POST request http://127.0.0.1:8000/telecom/verify-otp/ to verify OTP::
    {

     "telecom": "mobile number" #+9134454343
     "code": "code" #343433
    
    }
