Skip to content

mohsen-mahmoodi/django-rest-framework-sms-registration

Repository files navigation

SMS Registration using DRF

A working example of user registration using django rest framework

Features

  • Django 2.0+
  • Uses Pipenv - the officially recommended Python packaging tool from Python.org.
  • Development, Staging and Production settings with django-configurations.
  • Get value insight and debug information while on Development with django-debug-toolbar.
  • Collection of custom extensions with django-extensions.
  • HTTPS and other security related settings on Staging and Production.
  • PostgreSQL database support with psycopg2.

How to install

Install PipEnv

Please visit Pragmatic Installation of Pipenv for detailed instructions of PipEnv installation.

note: Use the pip version which matches the python version of your Pipfile:

pip3 install pipenv

Running the project for local development

Copy and paste the following bash commands in your terminal to run the project for local development:

git clone git@github.com:mohsen-mahmoodi/django-rest-framework-sms-registration.git
cd django-rest-framework-sms-registration.git
cp example.env .env
echo "Install requirements from Pipfile"
pipenv install --dev
echo "Run Django specific configuration and setup commands"
pipenv run python manage.py migrate
pipenv run python manage.py createsuperuser
echo "Start the project using the development server"
pipenv run python manage.py runserver

How to test

A sample API call is included using POSTMAN collection in order to test the APIs

Releases

No releases published

Packages

 
 
 

Languages