end points : localhost:3000/api/products = to get all the entries of the file. api/products/count = to get position of each product