Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

catalogworks/catalog-search-public

Repository files navigation

catalog-search

search engine sync service + utilities

Overview

This repository contains a bun monorepo for the following workspaces:

  • /packages/sync-service : Bun database sync service, main deployment for this repository. Responsible for syncronizing database rows from catalog-prod -> documents added + indexed into the Meilisearch instance.

  • /packages/search-utils : Published utility package for usage in client code. This package contains a filter expression builder and exported types for meilisearch responses.

  • /packages/dashboard : SvelteKit based admin dashboard for configuring, monitoring and testing the deployed (or locally running) search engine.

Info

catalog-search is a meilisearch based service that encompases the search engine service, our database sync/cdc service, and a companion admin dashboard web application. This service exists to provide fast, responsive search results for things like artist names, albums, etc.

flowchart TD
    A[Postgres Trigger] -->|table update| B(Sync Service)
    B --> A
    B --> C{CRUD op search document}
    C -->|Call meilisearch| D[Update document]

Loading

The sync service exists to receive and format relevant data from our production postgres database, including flattening relational data into a single record compatible with meilisearch.

Production

In production, catalog-search is deployed on Railway. The meilisearch service instance is deployed via the getmeili/meilisearch docker image, and the sync-service is deployed from this repo.

The admin dashboard is a sveltekit web application and deployed via Vercel.

Local Setup

Setup local doppler env with

doppler setup

Development

Run the catalog-prod database locally.

To install dependencies:

bun install

To run:

bun dev:docker:local

This project was created using bun init in bun v1.2.5. Bun is a fast all-in-one JavaScript runtime.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors