How to set up a React JS environment with an example