Write the product queries in the `products.tsx` file. - [x] `products` GET, POST - get all products - create new product - [x] `products/<pid>` GET, PUT, DELETE - get specific product - update product - delete product - [x] `products/<pid>/chats` GET, POST - get all chats regarding product - create new chat for product Once you are done, we can also implement filters into the request. More on that later!
Write the product queries in the
products.tsxfile.productsGET, POSTproducts/<pid>GET, PUT, DELETEproducts/<pid>/chatsGET, POSTOnce you are done, we can also implement filters into the request. More on that later!