Cognizant Interview Question

How to do react set up from scratch and how the flow works in react js