generate-it
TypeScript icon, indicating that this package has built-in type declarations

5.55.0 • Public • Published

Generate-It

Generate-It is a tool to generate RESTful servers/clients without Java.

Generate-It is a tool to generate Event Handle layer for servers/clients without Java, eg RabbitMQ.

Change your APIs yml and simply (re)Generate-It, your business logic is safe and sound.. but the http/channel layer is regenerated in seconds.

Here is an example: generate-it is parsing an OpenAPI file using a typescript sever tpl git repo:

generate-it openapi.yml --template https://github.com/acr-lfr/generate-it-typescript-server.git

Here is an example: generate-it is parsing an AsyncAPI file using a typescript RabbitMQ tpl git repo which is designed to work with the TypeScript server:

generate-it asyncapi.yml --template https://github.com/acr-lfr/generate-it-asyncapi-rabbitmq.git

Full DOCUMENTATION & Examples hosted on GitHub pages.


The client/server will be generated using the Nunjucks Template engine.

The templates should be hosted on a publicly available https url, eg: generate-it-typescript-server.

It is strongly recommended to use the OpenApi DSL package boats to standardize OpenAPI/AsyncAPI file architecture and operation IDs and more.


Generate-It is an opensource project from acrontum and Liffery written in TypeScript and is tested on NodeJS 14 LTS.

/generate-it/

    Package Sidebar

    Install

    npm i generate-it

    Weekly Downloads

    220

    Version

    5.55.0

    License

    MIT

    Unpacked Size

    273 kB

    Total Files

    205

    Last publish

    Collaborators

    • acrontum_sanchez
    • acrontum_eicken
    • acr-p-mcgowan
    • carmichael.john
    • acrontum_carmichael