What is file storage in an app?
Storage is where an app keeps whole files, like photos, videos and PDFs, while the database keeps a short note of where each file is.
In real life
A restaurant keeps big items like wedding cakes in the walk-in fridge (storage) and writes "Cake for table 4: fridge, shelf 2" in the order book (database).
Try it yourself
Upload a file
Storage: the files themselves
Empty. Upload a file to fill it.
Database: a files table (just notes)
| name | link |
|---|---|
| No rows yet | |
Pick a pretend file to upload.
Where you will use this
- Track 2: Letting users upload a profile photoComing soon
- Track 1, lesson 4: Files, images and long documentsComing soon
Quick check: Storage
Question 1 of 3