Setting up a backend API
A web CRUD application usually connects to a server and uses an HTTP backend API to perform operations on data. It fetches existing data, updates it, creates new data, or deletes it. In a real-world scenario, you will most likely interact with a real backend API service through HTTP. There are cases, though, where we do not have access to a real backend API:
- We may work remotely, and the server is only accessible through a VPN connection to which we do not have access.
- We want to set up a quick prototype for demo purposes.
- Available HTTP endpoints are not yet ready for consumption from the backend development team, a common problem when working inside a large team of different types of developers.
To overcome all the previous obstacles during development, we can use a fake server such as the Fake Store API. The Fake Store API is a backend REST API available online that you can use when you need fake data for an e-commerce or e-shop web application. It...