how to set up react with flask