I’m working on this project which kind of similar to DocuSign. User will upload a pdf and drags and drops textboxes and will save it as templates. I need to store the x and y coordinates along with the label for that textbox. And when the user re-opens the template, he has to see the pdf along with the fields placed on the pre-set coordinates. This info is used in the backend to generate the output pdf using a python script.
I’m done with the python script part and planning to use this in django. I don’t know how to achieve the coordinates grabbing part. I researched a bit and found a couple of libraries “react-pdf” for pdf viewing and “react-dnd” for drag and drop. Can I achieve the requirement using these two libraries? If you have any other better suggestions, please let me know.
Thank you so much in advance.



