akmamun / django-jwt-boilerplate

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Python 97.8%Language:Dockerfile 2.2%