mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-04-29 21:19:33 -05:00
9e46a099d0
This lets us simplify the parsing and add back a lot of type-safety (including int64). As a side-effect, we basically had to complete reqrite the record insert/update handling in the admin UI. Note, however, that this is a breaking change, since it touches serialization between WASM guests and host. Guest will need to be built against an updated guest runtime.
Coffee Vector Search
A small web application demonstrating the use of TrailBase and its vector search to build a coffee search.
To import the coffee data from CSV, run:
$ mkdir -p traildepot/data
$ cat import.sql | sqlite3 traildepot/data/main.db -
To build the web app
$ pnpm i
$ pnpm build
Finally, to build the docker container:
$ docker build . -t coffee && docker run -p 4001:4000 coffee
Reference
- Coffee data source