The code basically follow the tutorial here except for a few points:
- All the graphql query is changed to use django as backend instead of the nodejs server provided in the tutorial.
- Remember you need
pip install django-cors-headers
in the backend and follow the config from here to prevent CORS POLICY issue from django.
Install dependencies
yarn install
Init front-end server
yarn start