{"repo":"NimbleMarkets/dbn-duckduck-goose","free":true,"listed":false,"github":"https://github.com/NimbleMarkets/dbn-duckduck-goose","clone":"git clone https://github.com/NimbleMarkets/dbn-duckduck-goose.git","description":"Golang Web Service Example using Databento and DuckDB","language":"HTML","stars":20,"topics":["databento","duckdb","golang","openapi"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"dbn-duckduck-goose Golang Web Service Example using Databento and DuckDB https://github.com/NimbleMarkets/dbn-duckduck-goose This dbn-duckduck-goose repository contains an example Golang webservice that uses Databento's data-as-a-service backend and embedded DuckDB for storage and query. &nbsp; Open source technologies used include: Golang for the programming language Databento for data-as-a-service DuckDB for embedded SQL database OpenAPI for API interop Swaggo's swag for code-driven OpenAPI generation Gin for the web service framework dbn-go for DataBento Golang support Apache ECharts for JavaScript charting go-echarts for Golang bindings to ECharts Taskfile task runner CAUTION: This program incurs DataBento billing! Example Build and run the dbn-duckduck-goose server: Then test in another terminal or a web browser: Since those charts are self-contained, we've bundled an SPY chart example here for you to try out. Usage The following environment variables control some behavior: Variable Default Description -- -- -- DATABENTO API KEY \"\" DataBento API key to use for authorization GIN MODE \"debug\" Affects logging and Gin. May be debug , release , or test There is also a Dockerfile which is built by GitHub Actions. It can be run with: Here we are pulling the image from GitHub, storing the log files in the bind-mounted logs directory, and exposing the web service on port 8888 . The --hostport 0.0.0.0:8888 ensures that the web service binds a public interface of the container, oth","default_branch":null,"files":null,"tree":[],"storefront":"/r/NimbleMarkets","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NimbleMarkets/dbn-duckduck-goose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}