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.
# 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 down
Modify these files to change default configurations:
backend/.env.docker
frontend/.env.docker
- Frontend:
http://localhost:3000
- Backend:
http://localhost:3001
- 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 backend
npm install
npm run dev
Optional: Update backend/.env
file to change default configurations.
cd frontend
npm install
npm run dev
Optional: Update frontend/.env
file to change default configurations.
Use database/redis-data/dump.rdb
as the Redis database.