What is required from the front-end developer in the development of the store. Interested in questions:

  1. when we allow 200 units of goods. The front-end developer should, as far as I understand, make 1 sample page, and then everything is done by the backend developer?
  2. Add to cart.
  3. Reviews or comments.
  • and not stick? - Alexander Alekseev

1 answer 1

200 units of goods arrive in a small json type

{ [ {id:1, "n":"пылесос", "price":200}, {id:2, "n":"яхта", "price":99999} ] } 

Your task is to process all this and give the correct js for picture-references, effects, etc.

on the other hand, the backend can send you a complete html response, then it is much easier for you to live.

anything that does not have to be persistent in the database or can be safely handled by the user can fly to the front-end.

1) Think in terms of client / server

2) it all depends on the project architecture.