Enable editing of competition details and images in the admin panel

Adds a new POST route `/admin/competition/edit` to update competition data in the database, including handling image uploads and preserving existing images. Updates `replit.md` and `templates/admin/competitions.html` to include UI elements and logic for editing competitions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cd9a7d26-a4e5-4215-975c-c59f4ed1f06d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 5f81296b-a857-4536-9a1e-2ccf05671a10
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d0a1d46d-d203-4308-bc6a-312ac7c0243b/cd9a7d26-a4e5-4215-975c-c59f4ed1f06d/EU15Bjz
This commit is contained in:
abhiramtx
2025-11-12 16:17:31 +00:00
parent 88a82ccca0
commit 823a96275a
4 changed files with 139 additions and 4 deletions

View File

@@ -12,6 +12,10 @@ deploymentTarget = "cloudrun"
localPort = 5000
externalPort = 80
[[ports]]
localPort = 33703
externalPort = 3001
[[ports]]
localPort = 37833
externalPort = 3000