jan/app-backend/README.md
hiento09 86f0ffc7d1
Chore/disable submodule (#56)
* Chore disable git submodule for web-client and app-backend

* Chore add newest source code of app-backend and web-client

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-09-05 16:29:07 +07:00

1.3 KiB

Jan Backend

A Hasura Data API Platform designed to provide APIs for client interaction with the Language Model (LLM) through chat or the generation of art using Stable Diffusion. It is encapsulated within a Docker container for easy local deployment

Quickstart

  1. Run docker up
docker compose up
  1. Install HasuraCLI

  2. Open Hasura Console

cd hasura && hasura console
  1. Apply Migration
hasura migrate apply
  1. Apply Metadata
hasura metadata apply
  1. Apply seeds
hasura seed apply

Hasura One Click Deploy

Use this URL to deploy this app to Hasura Cloud

Hasura Deploy

One-click deploy docs

Modify schema & model

Hasura Tutorials

Events & Workers

Serverless function (Cloudflare worker) to stream llm message & update

Readmore about Hasura Events here:

https://hasura.io/docs/latest/event-triggers/serverless/

Deploy Worker

npx wrangler deploy

Cloudflare Worker Guide