loading...
Cover image for Day 22 of #100DaysOfCode: Create Endpoints to Manipulate Resources for Django App

Day 22 of #100DaysOfCode: Create Endpoints to Manipulate Resources for Django App

jenhsuan profile image Jen-Hsuan Hsieh ・1 min read

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?

The target for this week is to understand the process of creating endpoints in DRF (Django REST Framework).

Details

Please refer to my article. It includes four parts.

  1. Overview (models, serializers, views, and urls)
  2. Serializers
  3. Views and URLS: Type 1. Use APIview
  4. Views and URLS: Type 2. Use viewsets.ModelViewSet

https://medium.com/a-layman/build-single-page-application-with-react-and-django-part-4-create-endpoints-to-manipulate-13aefa60625b

Articles

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

Posted on by:

jenhsuan profile

Jen-Hsuan Hsieh

@jenhsuan

6+ year work experience in the software engineering field. 2+ year work experience with front-end JavaScript framework like React.js, Knockout.js. and Microsoft solution.

Discussion

markdown guide