Provides Kapeta language support for Go
Will use the most commonly used / effective libraries for Go such as:
- Echo as HTTP server
This language target is only available for Service blocks.
To lean more about Kapeta, see https://kapeta.com or https://docs.kapeta.com
Features
[X] Rest server [X] Rest API [] JWT Support [] Postgres [] Redis [] Mongo
The structure of this language target is as follows:
Contains the browser-based source used by the Kapeta App when configuring the language target.
Contains the node-based source for generating code for this language target.
Contains the templates used by the target to generate code. These are written using the Handlebars template language.
See https://github.com/kapetacom/codegen-target for more information about the template syntax.
Note: In your block see the kapeta.md file for more information specifically about the code that is generated for your block.
Will add eslint support - lint your code using npm run lint.
Will generate REST clients for all consumed REST APIs
Will generate REST API routes for all provided REST APIs
Will generate a basic keystore provider for creating and signing JWT tokens
If you wish to change the templates or code being generated - consider either opening a PR to if you feel it could be universally beneficial or fork the project and make your own changes - which you can then publish to Kapeta as your own language target.
This project is licensed under the MIT License - see the LICENSE file for details