DEV Community

Cover image for Day 21 of #100DaysOfCode: integrate JWT with Django REST Framework
Jen-Hsuan Hsieh
Jen-Hsuan Hsieh

Posted on • Edited on

Day 21 of #100DaysOfCode: integrate JWT with Django REST Framework

Introduction

We have to run two servers if we want to use React App as a SPA server and use Django app as an APIs server. What if we only want to launch one server on the machine?

This topic is the third article for Build Single page application with React and Django for building JWT endpoints for authorization and suppose that we have already had a Django application on Github.

Details

Please refer to my article. It includes four parts.

  1. Migrate Database to PostgreSQL
  2. Create Endpoints for JSON Wen Token(JWT) with DRF
  3. Verify JWT Endpoints on Postman
  4. Create Unit Tests for Endpoints

https://medium.com/a-layman/build-single-page-application-with-react-and-django-part-3-use-jwt-with-drf-and-tests-endpoints-6a6275fb09d9

Articles

There are some of my articles. Feel free to check if you like!

Top comments (0)