In this course, you’ll build the backend API for an e-commerce application. The API will support browsing products and managing shopping carts. By the end of the course, you’ll have built the following procedures:
| Procedure | Description |
|---|---|
product.GetProducts | Get all products |
product.GetProductById | Get a single product |
cart.GetCartById | Get a cart |
cart.CreateCart | Create a new cart |
cart.UpdateCart | Update a cart |
cart.DeleteCart | Delete a cart |
The cart procedures will be protected, while the product procedures will be publicly accessible.
For the data, we will use DummyJSON, a free online REST API that provides realistic placeholder data. DummyJSON lets us skip the complexity of setting up a database and instead focus entirely on learning how to build RPC APIs with Effect.