Portfolio: serve portfolios on subdomains
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- next.js, typescript
- Lĩnh vực
- backend, infrastructure
Hướng nghiên cứu
Start by reading the parent issue #40 and the Phase 1 work; then inspect src/proxy.ts, the existing session cookie configuration, and related tests. The owner must first decide between a subdomain and a separate domain, and the canonical address must be chosen. Done means tests cover host rewriting, reserved names, canonical redirects, and host-only cookies, with DNS steps documented in docs/deployment.md.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of #40. Starts after Phase 1.
Owner decision first
Use <username>.procoderji.com, or a separate domain for student pages, as GitHub uses github.io. A separate domain protects the main site's reputation if a page is abused.
Scope
- DNS: wildcard domains on Vercel need Vercel nameservers, or delegating
_acme-challengeto Vercel. See why nameservers are needed and the alternative. src/proxy.ts(Next.js 16 Proxy, formerly Middleware) reads the host and rewrites<username>.<domain>to/u/<username>. No DNS record per student, and students never receive DNS or hosting credentials.- Reserved names from #42 never resolve. Unknown names return 404.
- Choose one canonical address (subdomain or path) and redirect the other.
- Keep session cookies host-only.
procoderji.sessioncurrently has noDomainand usesPath=/api/platform; add a test so a future change cannot setDomain=.procoderji.com.
Done when
Tests cover host rewriting, reserved names and the canonical redirect, and docs/deployment.md documents the DNS steps.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 1
- Merge trung bình
- 8 giờ 58 phút
- Pull request đã merge (30 ngày)
- 37
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của procoderji-com/procoderji
-
area:frontend bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
procoderji-com/procoderji#104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
procoderji-com/procoderji#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
procoderji-com/procoderji#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 79/100
procoderji-com/procoderji#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
procoderji-com/procoderji#33 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của procoderji-com/procoderji
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug platform-android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Termix-SSH/Mobile#146 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
devswha/herdr-web-ui#3875 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày