feat: port fix, Stripe redirect handler, tryout date update #51

Closed
opened 2026-03-19 01:22:37 +00:00 by forgejo_admin · 0 comments

Type

Feature

Lineage

plan-wkq → Phase 1 (Commit Uncommitted Work)

Repo

forgejo_admin/westside-app

User Story

As a parent visiting the registration site
I want the correct tryout date displayed and card payments to redirect properly
So that I can register and pay online seamlessly

Context

Captures work done during the registration session: container port changed to 3000 to match k8s service config, tryout banner corrected to "This Tuesday", photo upload endpoint fixed to use the correct API path, and Stripe redirect handler added so card payments redirect to Stripe checkout.

File Targets

Files modified:

  • Dockerfile — EXPOSE 80 → 3000
  • nginx.conf — listen 80 → 3000
  • src/routes/+page.svelte — "This Saturday" → "This Tuesday"
  • src/routes/register/+page.svelte — photo upload endpoint fix + Stripe redirect handler

Acceptance Criteria

  • Container listens on port 3000
  • Home page shows "This Tuesday" for tryout day
  • Photo upload uses /api/register/upload-photo endpoint
  • Card payment redirects to Stripe URL from API response

Test Expectations

  • Manual: verify site loads on port 3000
  • Manual: verify home page shows correct day
  • Manual: verify card payment redirects to Stripe

Constraints

  • SvelteKit static adapter — no server-side code
  • nginx serves static files only

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • westside-basketball — project
  • Depends on basketball-api Stripe registration changes
### Type Feature ### Lineage `plan-wkq` → Phase 1 (Commit Uncommitted Work) ### Repo `forgejo_admin/westside-app` ### User Story As a parent visiting the registration site I want the correct tryout date displayed and card payments to redirect properly So that I can register and pay online seamlessly ### Context Captures work done during the registration session: container port changed to 3000 to match k8s service config, tryout banner corrected to "This Tuesday", photo upload endpoint fixed to use the correct API path, and Stripe redirect handler added so card payments redirect to Stripe checkout. ### File Targets Files modified: - `Dockerfile` — EXPOSE 80 → 3000 - `nginx.conf` — listen 80 → 3000 - `src/routes/+page.svelte` — "This Saturday" → "This Tuesday" - `src/routes/register/+page.svelte` — photo upload endpoint fix + Stripe redirect handler ### Acceptance Criteria - [ ] Container listens on port 3000 - [ ] Home page shows "This Tuesday" for tryout day - [ ] Photo upload uses `/api/register/upload-photo` endpoint - [ ] Card payment redirects to Stripe URL from API response ### Test Expectations - [ ] Manual: verify site loads on port 3000 - [ ] Manual: verify home page shows correct day - [ ] Manual: verify card payment redirects to Stripe ### Constraints - SvelteKit static adapter — no server-side code - nginx serves static files only ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `westside-basketball` — project - Depends on basketball-api Stripe registration changes
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/westside-landing#51
No description provided.