cd cbir_backend
python -m venv venv
venv\Scripts\activate # Windows
# OR
source venv/bin/activate # Linux/Mac
pip install -r requirements.txt
python manage.py migrate
python manage.py runservercd frontend
npm install
npm run dev- Frontend: http://localhost:5173
- Backend API: http://localhost:8000/api/
- Swagger Docs: http://localhost:8000/swagger/
- Admin Panel: http://localhost:8000/admin/
- Open http://localhost:5173
- Click "Register" to create an account
- Go to "Upload" and add some images
- Go to "Search" and find similar images!
cd cbir_backend
python manage.py createsuperuser
# Follow prompts to create admin accountThen use the API to promote users:
POST /api/auth/promote/<user_id>/- Image Upload - Drag & drop images, see automatic processing
- Image Search - Upload query image, get similarity results
- Profile - View your uploaded images
- Admin Dashboard - See system stats (if admin)
- Dark Mode - Toggle theme in navbar
- CLIP model download: First run downloads ~300MB model
- GPU not available: System automatically uses CPU
- CORS errors: Check backend CORS settings match frontend URL
See README.md for complete documentation.