November 2017
Beginner to intermediate
288 pages
7h 33m
English
Let's explain how it works:
We created a minimal web page with an upload input, that had an event listener for the change event.
When we clicked on the Upload to Firebase button, which is a nice-looking input button, we selected a file then grabbed it using the file APIs (built into the browser itself).
We created and grabbed ourselves a reference to the root directory and for the file, we wanted to upload.
We used a special Firebase method called put(), which returns a promise. That promise was resolved when we successfully uploaded the file.
Read now
Unlock full access