The task was to create a web app using Firefly Services APIs which allowed the user to upload an image, apply at least three transformations, and view the transformed image.
My proposed design was a "profile image generator" which allowed you to:
- Upload an image of yourself
- Remove the background (using Photoshop API)
- Use Firefly API to perform a Generative Expand
- Apply miscellaneous Lightroom transformations, like Exposure, Contrast, and Saturation
Unfortunately the app is not fully functional as proposed. I had issues with both the Firefly and Lightroom APIs. But I am happy to discuss what happened, what I did, what I would plan to do in the future if this was a real project.
- Install Bun (a Node.js alternative server-side JS runtime)
- Clone this repo
- Run
bun install
orbun i
touch .env
and paste in .env contents from Tyler- Open a terminal and run
bun dev
(this will run client and server usingconcurrently
) - Open browser to
http://localhost:5173