trailbase/examples
2025-08-07 10:02:32 +02:00
..
blog Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
coffee-vector-search Move TanStack/db example to a less missleading location, document it and update JS dependencies. 2025-08-05 11:50:02 +02:00
collab-clicker-ssr Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
custom-binary Replace vendored refinery with a more proper fork stripping all the unused bits and bobs. 2025-05-27 22:01:06 +02:00
data-cli-tutorial Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
tanstack-db-sync Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
README.md Move TanStack/db example to a less missleading location, document it and update JS dependencies. 2025-08-05 11:50:02 +02:00

TrailBase Examples

Blog

A simple styled Blog example with UIs both for web and Flutter:

Blog web app Blog Flutter app

TanStack/db Synced Todo Example

A simple ToDo App demonstrating the use of TanStack/db to automatically sync items and settings across tabs, Browsers and devices.

ToDo example app using TanStack/db for cross-device sync

Server-Side Rendered Collaborative Clicker

A small clicker application, where we can collaboratively make it go 🚀. It show-cases server-side rendering using SolidJS, however it could equally be React, Vue, Svelte, Preact, ... . After client-side hydration, click counter changes are streamed to everyone listening.

Collaborative acorn clicker

A small single-page web app demonstrating vector search and custom JS/TS endpoints.

Coffee vector search web app

Data CLI App

A brief example of how TrailBase can be used in an command-line app to ingest IMDB data and query it. This code belongs to the CLI tutorial:

Custom Rust Binary

A quick example showcasing how one can use TrailBase as a library.