Fake catalog service for the Backing Services chapter.
To build and run:
- Do a
glide installto fetch all of the dependencies from theglide.lockfile and put them in thevendor/directory. go buildto build the executable honoring the new vendor directory.- Run the application. Make sure that the fulfillment service is also running, otherwise requests for individual SKU details will fail.
| Resource | Method | Description |
|---|---|---|
| /catalog | GET | Retrieves a summary of catalog items |
| /catalog/{sku} | GET | Retrieves details for an individual catalog item. This will invoke the fulfillment backing service |