Introduction

Avatar of Hemanta SundarayHemanta Sundaray

In this chapter, you’ll build your first procedure: GetProducts. This procedure will return a list of products from the DummyJSON API.

Specifically, you’ll work through the following steps:

  • Define the schema that describes the shape of the data the procedure returns
  • Define the errors the procedure can return
  • Define the procedure
  • Define the procedure handler that contains the business logic
  • Define the service that fetches data from DummyJSON
  • Start the server and test the procedure using curl

Sign in to save progress

Stay in the loop

Get notified when Effect RPC related content is published.