In the frontend, to fetch the shops using this list API, we will set up a fetch method in client/shop/api-shop.js:
const list = () => { return fetch('/api/shops', { method: 'GET', }).then(response => { return response.json() }).catch((err) => console.log(err))}