Skip to content

Repository files navigation

RunAPI

RunAPI is a local-only developer harness for calling TypeScript service internals without adding HTTP controllers.

Point it at a service root, choose a source file, export, method, and JSON arguments, then run the call in a fresh Node.js child process.

Install

pnpm install

Run

pnpm start

RunAPI starts at:

http://localhost:7778

Example

Service root:

/Users/you/projects/my-api-service

Target file:

src/integrations/cms/documents.ts

Export:

documentsClient

Method:

findById

Args:

["document_123"]

About

A local-only developer harness for calling TypeScript service internals without adding HTTP controllers.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages