DEV Community

Discussion on: create-react-app and Express, together on Glitch

lucasverra profile image
Lucas Verra

why don't you use 2 separates projects; one backend and one front end ?

angelostavrow profile image
Angelo Stavrow Author

You certainly could! πŸ™‚

If you just need a simple back-end API for your React project (or, alternatively, a basic React front-end for your API project), you can use the approach in this article. But if the complexity of the overall project grows past that, you're right β€”Β it's probably better to use two different Glitch apps, one for the back-end, and one for the front-end.