A working example of user registration using django rest framework
- 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.
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
Copy and paste the following bash commands in your terminal to run the project for local development:
git clone [email protected]: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
A sample API call is included using POSTMAN collection in order to test the APIs