how to set up flask with react