feat: embedded request handler for Node apps

Đang mở
#377 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
api, backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
2
Fork
2
Merge trung bình
11 giờ 40 phút
Pull request đã merge (30 ngày)
104

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fells-code/seamless-auth-api

Tất cả issue của fells-code/seamless-auth-api

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.