Open tyrsson opened 1 year ago
Is mocking waayy different than to provide a live data?
In respect to the front end application, no not really. But you learn nothing from it really. Does the mock server your using support sending different response codes? What happens to your React app when it gets malformed json as a response? What happens to it if there is a 404 for one of the images?
When you have time can we do it? with whatever language :)
Absolutely.
Why are you still mocking data Anna?
You have all of the tools you need to move past providing static mocked data to your applications. Please contact me on slack and I will show you how to provide live data instead of mocking it :)
https://github.com/AnnaGeld/travel-with-van/blob/8f7aa1e73b8bfadcce185d84ea942c85f8ece8dd/src/server.js#L2