Eve library

@hestia/api

Other

Revision 1

On this page

Hestia Culinary Intelligence API — Fastify-based REST API

TypeScript package. Built with tsc/tsup; consumed by other workspaces.

Scripts#

Command Definition
pnpm start node dist/server.js
pnpm dev tsx --watch src/server.ts
pnpm build tsc --build
pnpm clean rm -rf dist .tsbuildinfo
pnpm test vitest run
pnpm test:watch vitest
pnpm typecheck tsc --noEmit

Layout#

  • __tests__/
  • src/

Working on this package#

The fastest local loop is via Nx:

bash
pnpm nx test hestia-api
pnpm nx lint hestia-api
pnpm nx build hestia-api

When Nx is unhappy (usually because another worktree has duplicate project names), bypass it with the underlying tools from this directory:

bash
npx tsc --noEmit
npx vitest run

See the root README for monorepo-wide conventions (catalog deps, commit format, git workflow). See the Contributor Guide for the full PR workflow.