title: React-Rest app, where to fetch data from database
body: <p>I have an App composed by back-end: Python with Django and Django REST, and front-end composed of React.</p>
  
  <p>Right now I have Excel files with data, which I import with python in json format to the back-end, so they are available for a fetch in the front-end via REST-url like <a href="https://www.valentinog.com/blog/tutorial-api-django-rest-react/#Django_REST_with_React_building_a_React_form" rel="nofollow noreferrer">here</a>.</p>
  
  <p>I am now translating my data into a web-based-database to be queried into my app.
  But I have questions regarding the structure of my app with this change.</p>
  
  <p>I have url-based queries for my new database.
  Should I continue to import the queries in the back-end REST framework and, from there, to React?
  Or should I use the url-based queries directly inside my React, substituting the REST url calls?</p>