DEV Community

Discussion on: Let's build a custom e-commerce with React and the JAMstack - Part 1

canrau profile image
Can Rau • Edited

Great write-up πŸ‘ Found you in the tweet of Stefan Natter.

I'm working on something similar at the moment though for video courses πŸ˜€
Not sure how it goes but I'm working on some code for Gatsby like image optimizations in Next. I hope I can make it as generic as possible
Uh, but you're probably serving images from sanity anyway I guess, so no need anymore right?

By the way I'm living in PerΓΊ, born in Germany, so we kind of swapped continents haha πŸ”„πŸ˜
So I totally understand your constraints, PerΓΊ import game is pretty tough too πŸ˜…


patferraggi profile image
Patricio Ferraggi Author

Hey Can, that sounds like a pretty interesting project, I might want to tackle that in the future, how are you handling the videos and the video playing? just curious.

Yes, I am indeed serving most images from Sanity, at least the ones that will change often or need to be configurable. Still, feel free to share your project in the comments, I would like to take a look at it.

Ahaha that is cool, I imagine that the situation is similar in a lot of Latin American countries, that is why companies like Mercado Libre do so good there.

canrau profile image
Can Rau

Wow sorry, just stumbled upon this still open tab in my browser stuffed with 615 tabs and realized that I never replied πŸ˜…πŸ˜­

I'm not exactly sure yet, I might use or AWS Elemental MediaConvert, AWS is cheaper I think yet Mux gives more features like analytics out of the box πŸ€·β€β™‚οΈ

Haven't actually had the time, so far, to continue my work on this project, lot's of other things going on..