alcaprar/localgems

Admin can see the list of products and manage them

Closed this issue · 1 comments

The admin should be able to manage the products. This means the following pages should be added:

  • /shop/:shop-id/products shows the list of products
  • /shop/:shop-id/products/:product-id: edit the existing product
  • a special page will be the /shop/:shop-id/products/new that will create the product first

Why do we have the shop id in the url? Because at the beginning there won't be any auth so we need to get the shop id from somewhere. When in the future the admin dashboard will be under auth (#21) that id can be retrieved from the user