Backend API: auth, projects/images/annotations, R2 presign, tracing, thumbnails, pagination, tests, docs

This commit is contained in:
hailt 2026-11-12 15:12:26 +07:00
parent 5c5deed2f5
commit f8ed08b854
49 changed files with 2626 additions and 0 deletions

9
restart_api.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
# Restart danable API safely: pattern lives in this file, never in the caller cmdline.
pkill -f 'uvicorn src\.main:app' 2>/dev/null
sleep 2
cd /home/hailt/danagble/backend
setsid -f .venv/bin/python -m uvicorn src.main:app --host 0.0.0.0 --port 8000 </dev/null >>/tmp/danable-api.log 2>&1
sleep 4
curl -s -m 5 localhost:8000/api/v1/health
echo