1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 05:37:52 +03:00
Files
android_cast/backend/url-shortener
Anton Afanasyeu a656a04511 be sync
2026-06-11 21:56:27 +02:00
..
2026-06-11 21:56:27 +02:00
2026-06-11 21:43:18 +02:00
2026-06-11 21:43:18 +02:00
2026-06-11 21:43:18 +02:00
2026-06-11 21:56:27 +02:00
2026-06-11 21:43:18 +02:00
2026-06-11 21:43:18 +02:00

URL shortener (s.f0xx.org)

Standalone opt-in service — not part of examples/crash_reporter/backend/.

Doc Path
SPEC docs/specs/20100611_3_url_shortener.md
DR docs/DRs/20100611_3_url_shortener.md
Deploy DEPLOY.md

Status: scaffold (OpenAPI + SQL + nginx fragments + smoke scripts). PHP handlers TODO.

Git remote (PO confirmed): git://f0xx.org/androicast_project/url-shortener
Public URL: https://s.f0xx.org
FE TLS (PO confirmed): /etc/letsencrypt/live/s.f0xx.org/{fullchain.pem,privkey.pem}

Quick smoke (when deployed)

export BASE=https://s.f0xx.org
export BEARER=demo-bearer-replace-me
./scripts/demo_curl.sh

Local dev (future)

# MariaDB: apply sql/schema.mariadb.sql
# php -S 127.0.0.1:8091 -t public

Layout

backend/url-shortener/
  openapi.yaml          # API contract (source of truth with SPEC §6)
  deploy/               # FE + BE nginx fragments
  sql/schema.mariadb.sql
  scripts/demo_curl.sh
  scripts/smoke_shorten.sh
  public/index.php      # stub router (health only until impl)