feat: embedded request handler for Node apps

Offen
#377 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
api, backend

Rechercherichtung

Start by reading the linked parent issue #371 and the dedicated schema and file config issues this work depends on; this issue does not name implementation files or tests. The requested entry point is createSeamlessAuth({ db, config }), returning an Express router and a fetch handler for frameworks such as Next, Hono, and Remix. Done means supporting injected config, lifecycle hooks, pluggable stores, and in-process transport without an HTTP hop or service token.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

easy enhancement P4 v1.0

Part of fells-code/seamless-auth-api#371.

createSeamlessAuth({ db, config }) returning an Express router and a fetch handler (Next, Hono, Remix), running the API in the adopter's process from the same codebase.

  • Injected config instead of global env reads
  • Start and stop hooks for background work (audit retention)
  • Pluggable rate limit and signing key stores
  • In-process transport in seamless-auth-server (no HTTP hop, no service token)

Contract-affecting for seamless-auth-server. Depends on the dedicated schema and file config issues.

Vorherrschende Sprache
TypeScript
Sterne
2
Forks
2
Ø Merge
11 Std. 40 Min.
Gemergte PRs (30 T.)
104

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus fells-code/seamless-auth-api

Alle Issues in fells-code/seamless-auth-api

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.