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.
# Clone the repository
git clone https://github.com/redis-developer/vectorsets-face-similarity-demo.git
cd vectorsets-face-similarity-demo- Docker and Docker Compose installed
# Start all services
docker-compose up --build
# Stop all services
docker-compose downModify this file to change default configurations:
app/.env.docker
- App:
http://localhost:3000 - Redis:
localhost:6379
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.
- Node.js installed
- Redis server running
cd app/server
npm install
npm run devOptional: Update app/.env file to change default configurations.
cd app/client
npm install
npm run buildUse database/redis-data/dump.rdb as the Redis database.