How to dynamically generate an image using Unsplash API with Firestore data
You can use Rowy to quickly and easily generate an image using the Unsplash API based on data stored in Firestore. Simply point to the data fields that you want to use to generate the image, and Rowy will handle the rest. You can also use Rowy's built-in code editor to tweak the logic of the image generation if needed.
Here's a quick overview of how it works:
Step 1: Setup Rowy
Connect Rowy to your existing Firebase project or create a new one from scratch
Step 2: Connect to your Unsplash account
If there is a connectivity to the tool available via API secret key then you can store this in your project secret manager on Google Cloud Platform. You can use any NPM module or API using fetch
Step 3: Add ready to use code block for Unsplash
With Rowy you can build quickly like low-code using ready to use code block but you have full flexibility to go down to code level and extend anytime you need to add your business logic
Step 4: Pick the data fields
In the code simply point to the data fields that should trigger your event - create / update / delete of rows, incoming webhook event, and specific time- based event.
Step 5: That's it
You can simply deploy this as a cloud function to Firebase in one click. No DevOps, CLIs, terminal, configs to deal with. Focus just on building the logic of your cloud functions.