TRAPI is a small collection of few standalone as well helper libraries, to simplify the process of creating REST-APIs, generating documentations and communicating between frontend and backend application.
Please follow the README.md
instructions in the respective package folder.
The repository contains the following packages:
This is the main package and contains the core functions of all other package and a CLI to interact with them.
This package contains all functions, to generate metadata for TypeScript REST decorators.
In most cases, the first thing to do is to generate metadata information by consulting self defined or third party REST decorators
present on your code.
The next step would either be, to generate a documentation
according to the OpenAPI Specification or to create route schema/handling by using the Metadata for libraries like: express, koa, etc.
This is a library for building JSON:API
like REST-APIs.
It extends the specification format between request- & response-handling for querying and fetching data.
This package contains all functions, to generate a fully featured documentation according the OpenAPI Specification from given metadata.
This Package contains all util functions, which are also partially required by other modules of this repository.