Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/syke99/hx-gql-extism-example

an example of using hx-gql plus extism in an htmx application
https://github.com/syke99/hx-gql-extism-example

Last synced: about 1 month ago
JSON representation

an example of using hx-gql plus extism in an htmx application

Awesome Lists containing this project

README

        

`hx-gql` example using Extism plugins to render the elements with results from configured GraphQL calls

# Requirements

- node installed
- go(lang) installed

# Running example

1. run this command to build the client:
```
cd client && npm install && nmp run build
```
2. run this command to start the backing GraphQL server
(the server will auto-seed itself once you visit `localhost:8080`)
```
cd .. && go run server.go
```
3. navigate to `localhost:8080` and follow the on-screen instructions