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

chai-api #12

Merged
merged 1 commit into from
Oct 21, 2024
Merged

chai-api #12

merged 1 commit into from
Oct 21, 2024

Conversation

jhheider
Copy link
Member

@jhheider jhheider commented Oct 20, 2024

Adds a simple rust API service with three endpoint handlers:

/heartbeat: for docker-compose to monitor it
/tables: lists the tables detected at run-time
/{table}[?page=X&limit=Y]: paginated queries from the table (default limit 200)

no filtering is currently done, only querying. filtering could be done, but we don't really know the tables in the rust code, working with them as json strings for flexibility.

Needs: tests

@jhheider jhheider requested review from sanchitram1 and toby October 20, 2024 16:43
@jhheider jhheider force-pushed the chai-api branch 6 times, most recently from 793b76c to 8e65603 Compare October 20, 2024 17:12
Copy link
Collaborator

@toby toby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! I'd say just change the directory name from chai-api to api. Other than that, looks great.

@jhheider jhheider merged commit 8c6ef06 into main Oct 21, 2024
4 checks passed
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.

3 participants