Skip to main content

A Django app for telecom system.

Project description

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

    }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-message-1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

django_message-1.0-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page