tb47
December 10, 2020, 3:41pm
2
Hi! I have an example of using React and Firebase for uploading files. I remember that i had issues with “grabing the file correctly”. You might have a look at this part of my example.
Check out:
Tell us what’s happening:
I decided to use Firebase for all 5 “Api and Microservice” - projects to get a “real world experience” instead of using Glitch + MongoDb.
Your code so far
I finished all 5 projects and let you have a look at the last one.
Working solution on Google Firebase (Hosting + Storage):
There is one big issue with my solution:
I am quiet sure to not send a “formData” object. Hopefully you dont mind or correct it :)))
I used a “create-react-app” and coded everything as…
or:
Let me know if theese lines of codes helped you.
Best regards,
Thorsten