Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File upload - connect with front end with back end #59

Open
3 tasks
anjaleenaren opened this issue Apr 14, 2023 · 0 comments
Open
3 tasks

File upload - connect with front end with back end #59

anjaleenaren opened this issue Apr 14, 2023 · 0 comments
Assignees

Comments

@anjaleenaren
Copy link
Contributor

anjaleenaren commented Apr 14, 2023

For this task, you will be editing client/src/components/datagrid.tsx. You will be editing the fields that take file as input – there should be three total – click here for all the fields and their types to find their names)

  • When somebody presses the upload file for any of the fields that take a file upload as their input, it should make a POST request to save the data
  • Check to see if it was successfully posted, and if it was, display an icon they can click on to view the file (you can use a GET request to the file to view it upon click). This view icon should appear above the "Upload File" button in the cell.
  • There should also be a way to delete the file. Insert an "X" button into the cell which will make a DELETE request to delete the file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants