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

2

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!

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay