# storefront A small shop API: products, a cart and checkout. ## Run ```sh go run . ``` The server listens on :8080. ## Endpoints | Method | Path | What it does | |---|---|---| | GET | /products | List products | | GET | /products/{id} | One product | | POST | /cart | Add an item | | GET | /cart | Show the cart and its total | See [docs/api.md](docs/api.md) for request and response bodies.