π Set Up Firebase Storage
Now you know how info will be stored, but what about actual files? You need to build a Storage system in order to store the actual file content (images, PDFs, videos) that users upload.
To do this, go to Build > Storage in the left sidebar.
β You must upgrade your project to the "Blaze" (Pay as you go) plan to use Storage.
- Click "Upgrade project".
- Select "Create a Cloud Billing account" and follow the steps to set up your billing.
- After setting up billing, you'll be prompted to set a budget (e.g., $5). This is optional but recommended.
- Confirm the plan change.
β Once your plan is upgraded, click "Get started" on the Storage page.
β Keep the security rules in "Start in production mode" and click Next.
β Choose your Cloud Storage location and click "Create".
β (Optional) After your storage bucket is created, click the "Create new folder" icon.
β Name the new folder user_uploads and click "Add folder".
If itβs not added, our app will add it automatically.