Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plmercereau/materialize-graphql
https://github.com/plmercereau/materialize-graphql
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/plmercereau/materialize-graphql
- Owner: plmercereau
- Created: 2021-12-12T17:29:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-12T17:30:17.000Z (almost 3 years ago)
- Last Synced: 2024-10-23T09:39:26.236Z (16 days ago)
- Language: TypeScript
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Materialize GraphQL endpoints
Scans [Materialize](https://materialize.com/) views and expose them into basic GraphQL queries and subscriptions.
This attempt is meant to [integrate Materialize with Hasura while a solution is found to directly plug Materialize as a source in Hasura](https://github.com/MaterializeInc/materialize/issues/4150).
Not production-ready, only food for thought.
## How to use
1. Clone this repo
2. `docker-compose up`
3. Create views with `psql -U materialize -h localhost -p 6875 materialize`
4. Restart the NodeJS service
5. Open the Hasura console on [http://localhost:8080/console](http://localhost:8080/console)
6. Connect a remote schema: `http://graphql-proxy:4000/graphql`