🏮 Harbour Market API
Every student has their own market: the same API, the same seed data, a separate copy. Your market is named after your GitHub username.
Your API, for API in starter/js/api.js:
https://harbour-api.lopin.me/<username>/api
Chaos
Make your market slow and unreliable, to test loading and error states. Only your market is affected. One request only: add ?chaos=1 to its URL. Independently of these switches, the server answers about 1 request in 10 with a 500, always: your page has to handle it.
Reset
Back to the seed data: ten stalls, the original reviews, nothing saved, no orders. Your chaos settings stay.
Endpoints, bodies and status codes: the API reference. The task: Connect the market.