Closed ruichen199801 closed 1 year ago
We may need to define the border-radius
property for new images in addition to width
and height
.
We do not plan to persist the photos in cloud, as this will require us to store cloud urls in RestaurantMedia table and brings unnecessary complexity.
Currently we use a default image for all restaurants, as restaurant images are missing in our chosen datasets.
For demo purpose, we can fetch random restaurant images using Unsplash API:
feature/unsplash
branch, start local server and call unsplash API to get photos (50 request / hour)We can persist the photos using cloud service such as Google Cloud or Cloudinary if the previous steps go smooth.