Closed protob closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
universal-box | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Oct 13, 2024 0:44am |
The changes in this pull request introduce a comprehensive setup for a Hasura GraphQL API using PostgreSQL. Key additions include a new environment configuration file, Docker Compose setup, detailed documentation for GraphQL operations, and various metadata files defining the schema for a library management system. The updates encompass sample data, migration scripts for database initialization, and a new guide to facilitate users in setting up and managing their Hasura instance effectively.
File Path | Change Summary |
---|---|
template/API/Hasura-GraphQL/.env.example |
New environment configuration file created with PostgreSQL and Hasura settings. |
template/API/Hasura-GraphQL/README.md |
Added a setup and configuration guide for Hasura, including instructions for Docker and migrations. |
template/API/Hasura-GraphQL/docker-compose.yaml |
New Docker Compose file created for Hasura and PostgreSQL services. |
template/API/Hasura-GraphQL/docs.md |
Comprehensive GraphQL documentation for library management system queries and mutations added. |
template/API/Hasura-GraphQL/hasura-exports/config.yaml |
New configuration file created for Hasura API with key settings. |
template/API/Hasura-GraphQL/hasura-exports/metadata/actions.yaml |
New empty actions metadata file created. |
template/API/Hasura-GraphQL/hasura-exports/metadata/allow_list.yaml |
New empty allow list metadata file created. |
template/API/Hasura-GraphQL/hasura-exports/metadata/cron_triggers.yaml |
New empty cron triggers metadata file created. |
template/API/Hasura-GraphQL/hasura-exports/metadata/databases/databases.yaml |
New PostgreSQL database configuration added. |
template/API/Hasura-GraphQL/hasura-exports/metadata/databases/postgres/tables/public_authors.yaml |
New configuration for authors table created with relationships and permissions. |
template/API/Hasura-GraphQL/hasura-exports/metadata/databases/postgres/tables/public_books.yaml |
New configuration for books table created with relationships and permissions. |
template/API/Hasura-GraphQL/hasura-exports/metadata/databases/postgres/tables/public_genres.yaml |
New configuration for genres table created with relationships and permissions. |
template/API/Hasura-GraphQL/hasura-exports/metadata/databases/postgres/tables/public_tags.yaml |
New configuration for tags table created with relationships and permissions. |
template/API/Hasura-GraphQL/hasura-exports/metadata/databases/postgres/tables/public_users.yaml |
New configuration for users table created with relationships and permissions. |
template/API/Hasura-GraphQL/hasura-exports/metadata/databases/postgres/tables/tables.yaml |
New include directives added for various tables in the database schema. |
template/API/Hasura-GraphQL/hasura-exports/metadata/query_collections.yaml |
New empty query collections metadata file created. |
template/API/Hasura-GraphQL/hasura-exports/metadata/remote_schemas.yaml |
New empty remote schemas metadata file created. |
template/API/Hasura-GraphQL/hasura-exports/metadata/rest_endpoints.yaml |
New empty REST endpoints metadata file created. |
template/API/Hasura-GraphQL/hasura-exports/metadata/version.yaml |
Version updated from 2 to 3 in the metadata configuration. |
template/API/Hasura-GraphQL/hasura-exports/migrations/postgres/1728771962403_init/up.sql |
Migration script added for creating tables and functions in the PostgreSQL database. |
template/API/Hasura-GraphQL/hasura-exports/sample-data.sql |
Sample data insertion statements added for authors, users, genres, tags, and books. |
website/content/Templates/API/Hasura-GraphQL.md |
New guide document created for the Hasura GraphQL Server Template. |
Hasura-GraphQL
: This pull request provides a template for setting up a GraphQL API using Hasura and PostgreSQL, aligning with the objectives of the related issue.π° In the garden of code, we hop and play,
With Hasura and PostgreSQL, we pave the way.
New tables and schemas, a template so bright,
For queries and mutations, we take flight!
With each little change, our project will grow,
A world of data, ready to show! πΌπ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
API template using Hasura-GraphQL Fixes issue #90
Type of Change
How Has This Been Tested?
The code has been tested manually
Checklist
Additional Notes
Add any other context or information that may be helpful for the reviewers.
Summary by CodeRabbit
New Features
Bug Fixes
Chores