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 a Next.js frontend, a Node.js backend, 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 these files to change default configurations:

  • backend/.env.docker
  • frontend/.env.docker

Access URLs

  • Frontend: http://localhost:3000
  • Backend: http://localhost:3001
  • 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

Backend Setup

cd backend
npm install
npm run dev

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

Frontend Setup

cd frontend
npm install
npm run dev

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

Database Setup

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •