Skip to content
RELKIT
Esc
↑↓navigate↵open⌘Jpreview
On this page

Build your first API

Build an Orders API from your first response through data, sign-in, tests, and production.

Build an Orders API one step at a time. Each chapter continues the application from the previous chapter, so keep the same project directory.

Create and run an API. Start the server and receive a greeting.

Add an Orders endpoint. Create an order and reject invalid input.

Save orders. Persist and retrieve application data.

Protect orders. Add sign-in and require a session.

Test the Orders API. Check successful requests and expected failures.

Develop locally. Understand validation, reloads, and optional inspection.

Build and run for production. Run the built server and verify its behavior.

Start with Create and run an API.

Understand the concepts

After you have a working endpoint, use Core concepts to understand functions, schemas, services, and the application graph. These pages support the tutorial; you can return to them whenever you need an explanation.