Files
trailbase/examples/coffee-vector-search
2025-03-18 11:27:31 +01:00
..
2025-03-18 11:27:31 +01:00

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