Build single page application with React JS and Python