Awesome write up, thanks for taking the time in putting this together!
Two notes:
In the client.js the .env variable needs to match the variable used in our .env file, i.e. both need to either be VITE_baseUrl or VITE_MEDUSA_SERVER_URL
We created a "component" folder to house our components but later when importing them into the pages it was looking for a "components" folder, with an 's'. Small type-o