Django and React
I built this to read data from a csv file and then store it in the database.
For the backend, I used Django rest framework's @api_view
decorator
for receiving the csv file. I used the csv and io libraries for parsing the data
inside the csv file and then saved it in the database.
For the frontend, I used axios for sending the file uploaded to the django backend. I ran into issues with csrf token for post requests and then got it working. It works perfectly now.