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.
Please refer to my article. It includes four parts.
- Migrate Database to PostgreSQL
- Create Endpoints for JSON Wen Token(JWT) with DRF
- Verify JWT Endpoints on Postman
- Create Unit Tests for Endpoints
There are some of my articles. Feel free to check if you like!