Skip to content

redis-developer/vectorsets-face-similarity-demo

Repository files navigation

VectorSets Face Similarity Demo

This project demonstrates face similarity search using Redis VectorSets. It features an Express.js server, React client (with Vite), and AI-powered face embedding capabilities.

Quick Start

# Clone the repository
git clone https://github.com/redis-developer/vectorsets-face-similarity-demo.git
cd vectorsets-face-similarity-demo

Docker Setup (Recommended)

Prerequisites

  • Docker and Docker Compose installed

Start Services

# Start all services
docker-compose up --build

# Stop all services
docker-compose down

Environment Configuration (Optional)

Modify this file to change default configurations:

  • app/.env.docker

Access URLs (Defaults)

  • App: http://localhost:3000
  • Redis: localhost:6379

Database

The database is automatically loaded with the database/redis-data/dump.rdb file when using Docker.

For more detailed Docker instructions, see DOCKER_README.md.


🔧 Local Development Setup

Prerequisites

  • Node.js installed
  • Redis server running

Server Setup

cd app/server
npm install
npm run dev

Optional: Update app/.env file to change default configurations.

Client Setup

cd app/client
npm install
npm run build

Database Setup

Use database/redis-data/dump.rdb as the Redis database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors