Tutorial: @angular/fire/storage β Angular 11 (Angular 8) β Upload/Display/Delete files to/from Firebase Storage using @angular/fire
In this tutorial, ozenero.com shows you way to upload, get, delete Files to/from Firebase Storage in a simple Angular 11 App using @angular/fire. Filesβ info will be stored in Firebase Realtime Database.
Technologies for Angular Firebase Storage
β Angular 11
β RxJs 6
β @angular/fire 5.1.3
β firebase 5.11.1
Angular 11 Firebase Storage Overview
We will build an Angular 11 Firebase App that can:
β helps user choose file from local and upload it to Firebase Storage
β show progress with percentage
β save file metadata to Firebase Realtime Database
(Functions above from the posts: Upload File to Storage)
β get list Files and display
How to do β @angular/fire/storage?
β Upload file:
- save file to Firebase Cloud Storage
- retrieve {name, url} of the file from Firebase Cloud Storage
- save {name, url} to Firebase Realtime Database
β Get/delete files: use file {name, url} stored in Database as reference to Firebase Cloud Storage.
So, after upload process, the results will be like:
-> Firebase Storage:
-> Firebase Realtime Database:
Related post
β Angular 11 Firebase tutorial: Integrate Firebase into Angular 11 App with @angular/fire
β Angular 11 Firebase CRUD operations with @angular/fire
β Angular 11 Firestore tutorial with CRUD application example β @angular/fire
Top comments (0)