We've been building up our application over time with Create React App, but we've kept it almost entirely a frontend-only application. That's all well and good, but the reality is that you will probably be building an application that has a server behind it! The good news is that creating a simulated backend in Create React App projects remains as simple as possible while still giving you a good feel for how things would translate into a real-world scenario or project!
Simulating a backend server with the proxy API
Setting up the backend API
As mentioned, pretending there is a backend to our Create React App project requires very little effort and gets us back into development incredibly quickly. For us to take...