A full product discovery demo with React, FastAPI, PostgreSQL, Debezium + Redpanda CDC, OpenSearch hybrid search, and Neo4j recommendations.
cp .env.example .env
docker compose up --buildOpen the frontend:
http://localhost:3000
The platform intentionally starts with an empty catalog. On the Overview or Operations page, click Load sample catalog. The application will then:
- configure the Debezium connector;
- import the bundled 30,000 products into PostgreSQL;
- synchronize OpenSearch and Neo4j through CDC;
- build similar, alternative, and complementary relationships.
Progress is shown in the frontend. The operation is safe to retry.
| Service | URL |
|---|---|
| Frontend | http://localhost:3000 |
| FastAPI docs | http://localhost:8000/docs |
| OpenSearch | http://localhost:9200 |
| Neo4j Browser | http://localhost:7474 |
| Debezium Connect | http://localhost:8083 |
Default admin key:
dev-admin-key-change-me
Optional database tools are not part of normal startup. Start them with:
docker compose --profile tools up -dThis adds OpenSearch Dashboards on http://localhost:5601 and Adminer on http://localhost:8080.
docker compose up -d # start existing containers
docker compose stop # stop without removing containers
docker compose start # restart stopped containers
docker compose down # remove containers, preserve data volumes
docker compose logs -f # follow logsUse docker compose down -v only when you deliberately want an entirely empty database again.
Use the Operations page or:
curl -X POST \
"http://localhost:8000/api/v1/admin/products/bulk-import" \
-H "X-Admin-Key: dev-admin-key-change-me" \
-F "file=@products.csv"After a custom import, wait until PostgreSQL, OpenSearch, and Neo4j counts match, then rebuild graph relationships from Operations.
- Product CRUD and CSV imports
- Lexical, semantic, and hybrid search
- Query normalization, autocomplete, facets, and ranking
- PostgreSQL-to-OpenSearch/Neo4j CDC synchronization
- Related, alternative, and complementary products
- Interactive relationship map
- Search analytics and zero-result reporting
- Non-destructive batched graph rebuilds