Skip to content

apodeixis/backend

Repository files navigation

backend

License: MIT

Documentation

This is a primary API gateway for the client.

Documentation

OpenAPI 3.0.0 standard.

Build and start local documentation:

cd docs
npm i
npm run build & npm run start

In case everything is successful, you will see the following links:

✔ Documentation (ReDoc):      http://localhost:8080
✔ Documentation (SwaggerUI):  http://localhost:8080/swagger-ui/
✔ Swagger Editor:             http://localhost:8080/swagger-editor/

Codegen

Swagger

We use openapi-generator. You can generate model bindings for Go based on docs using generate.sh script.

./generate.sh --help

EVM

This service interacts with Solidity contract Posts.sol from contracts.

In pkg/ directory you can find generated Go bindings for it. To obtain them yourself, at first you need ABI - check the reference section in contracts.

Then, utilize abigen:

abigen --abi=Posts.abi --pkg=posts --out=pkg/posts/posts.go

About

Go service available for client requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published