Add v1 shortener: Bearer API, public 302, landing, and CI.
CI / test (pull_request) Successful in 6s

Standalone Django service so callers can mint links and phones get a 302.
Closes #1.
This commit is contained in:
2026-08-30 06:54:32 -05:00
parent 4baaa4b33c
commit 143ac7c6d0
48 changed files with 3469 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
"""URL configuration for shortener."""
from django.contrib import admin
from django.urls import include, path
from core.views import healthz, landing
from links.debug_views import debug_create
from links.views import redirect_view
urlpatterns = [
path("", landing, name="landing"),
path("healthz/", healthz, name="healthz"),
path("debug/", debug_create, name="debug-create"),
path("admin/", admin.site.urls),
path("api/links/", include("links.urls")),
path("<str:code>", redirect_view, name="redirect"),
]