DEV Community

Discussion on: Build a fullstack twitter clone using Flask and React | PART 1

benayat profile image

great article, thanks!
one note - with axios, there is no need to insert the entire url with localhost - just the endpoint would be enough. this way it can stay the same for dev and deployment.
just add a proxy to package.json