/django-jwt-boilerplate

Django Microservice boilerplate with JWT auth, logger and deployment-ready

Primary LanguagePython

Django Project initializer for Ready Work

Effortlessly kickstart your Django project with Django REST framework and drf-simple-jwt.

Installation

Follow these steps:

  • Install latest Python3
  • Install virtualenv with pip install virtualenv
  • Create an env in this folder called env (naming is important) virtualenv ./env
  • Activate the python environment with source ./env/bin/activate
  • Install the python Dependencies with pip install -r requirements.txt

Now you're ready to go!

Running

  • Copy the env.example file as .env and update it with the relevant values.
  • Start the Django development server with the command: python manage.py runserver.

For more details, refer to the Postman Collection.

Features

  • User Login (email/phone)
  • User Registration
  • Token Refresh