Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docker setup #18

Merged
merged 11 commits into from
Oct 17, 2023
Merged

Add docker setup #18

merged 11 commits into from
Oct 17, 2023

Conversation

0237h
Copy link
Collaborator

@0237h 0237h commented Oct 17, 2023

No description provided.

0237h added 11 commits October 15, 2023 06:07
* Add `block_number` array query support

The `/{chain}/timestamp` endpoint can now accept a single or an array
of block numbers (comma-separated). A maximum number of values to be
parsed can be set using the MAX_ELEMENTS_QUERIED env variable (will be
shared with `/{chain}/blocknum`).

Related: #5

* Refactor API responses to serve array queries

- Changed the default Clickhouse DB response format to `JSONObjectEachRow`
in order to have query parameters matching with the response value.
- JSON responses are parsed directly from the schemas to ensure
consistency.

Closes: #5
* Add CLI build with Bun and Commander

The build generates a CLI for running the Bun API. The config
has been changed to include program argument parameters. In order
to run the new `app` using custom directives (e.g port, hostname)
a new function called `generateApp()` had to be created in order for
the tests to be ran with the same app (previously `export default`).

Closes: #7

* Fix build workflow

* Skip default values check in config test
@0237h 0237h temporarily deployed to dev-test October 17, 2023 21:33 — with GitHub Actions Inactive
@0237h 0237h merged commit bd858d8 into main Oct 17, 2023
4 checks passed
@0237h 0237h deleted the develop branch October 17, 2023 21:33
@0237h 0237h restored the develop branch October 17, 2023 21:37
@0237h 0237h temporarily deployed to dev-test October 17, 2023 21:37 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant