Project Overview

Avatar of Hemanta SundarayHemanta Sundaray

In this course, we’ll build the backend API for an e-commerce application. Specifically, we’ll expose the following routes:

EndpointMethodDescription
/productsGETGet all products
/products/:idGETGet a single product
/products/search?q=...&limit=...&skip=...GETSearch products
/carts/:idGETGet a cart
/carts/addPOSTCreate a new cart
/carts/:idPUTUpdate a cart
/carts/:idDELETEDelete a cart

The cart routes will be protected, while the product routes 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 APIs with Effect.

Sign in to save progress

Stay in the loop

Get notified when Effect HTTP Server related content is published.