I want to use Django as backed with react and I have already integrated Django with react app. And my react app(blog in my case) is up and running with Django. I have made following changes to do so.
Dir for templates inside settings.py:
Dir for Static Files inside settings.py:
In urls.py rendered template without using views.py:
But now I want to use the Django's db.sqlite3 as my database for react app. Please tell me how to configure it ? What additional settings I need to configure to fetch data from db.sqlite3 database inside react app ?
It will better if you can give an example code in which react app fetching and storing data to Django database by any method.
If more information about the settings are required then tell me I will edit my question accordingly.