Back

[SOLVED] Buckets & best practices

  • 0
  • General
  • Functions
  • Storage
dch09
5 Sep, 2023, 17:02

my app will use storage in 3 ways:

  • posting photos for specified place_id (place, eg. Grocery Store)
  • displaying photos for specified place_id
  • posting / changing / deleting user profile picture

is there any guildeline i should follow doing this? I've read about creating inbox storage which is write only for users and move photos to another, read only bucket via functions.

TL;DR
The user is seeking advice on best practices for using buckets in their app. They mention three ways they will be using storage: posting photos for a specific place, displaying photos for a specific place, and managing user profile pictures. They have read about creating an "inbox storage" for write-only access and then moving photos to a read-only bucket using functions. They are asking if there are any guidelines they should follow for implementing this. A solution is provided by another user, suggesting that the user follows the recommended approach of creating an inbox storage for write-only access and using functions to move the photos to a separate read-only bucket. They advise the
Drake
6 Sep, 2023, 18:07

I've read about creating inbox storage which is write only for users and move photos to another, read only bucket via functions.

yes, that is what i would recommend

dch09
13 Sep, 2023, 16:11

[SOLVED] Buckets & best practices

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more