Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

zero-sum-seattle/corner-pocket-web

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corner-Pocket Web 🎱

⚠️ Work in Progress - This repo is under active development. UI, routes, and structure may change frequently.

Web frontend for corner-pocket-backend

This repository contains the web client for Corner-Pocket (match tracking for tournaments, leagues, and friendly games). The web app talks to the backend REST API and renders a UI in the browser.

🛠️ Tech Stack (Initial)

  • Python + Flask - Lightweight web server (pages + simple API calls during development)
  • HTML/CSS/JS - UI (framework choice TBD)

🚀 Quick Start (Dev)

1) Create a virtual environment & install deps

cd corner-pocket-web
python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -r requirements.txt

2) Configure environment

cat > .env << 'EOF'
BACKEND_BASE_URL=http://localhost:8000
EOF

3) Run the dev server

export FLASK_APP=wsgi.py
flask run --reload --port 5173

Open http://localhost:5173.

🐳 Docker

Build and run:

cd corner-pocket-web
docker build -t corner-pocket-web .
docker run --rm -p 5173:5173 -e BACKEND_BASE_URL=http://host.docker.internal:8000 corner-pocket-web

🔌 Backend Integration

Set BACKEND_BASE_URL to your running backend (default: http://localhost:8000).

Useful backend endpoints:

  • GET /health
  • GET /docs (Swagger UI)

📋 Environment Variables

Variable Description Default
BACKEND_BASE_URL Base URL for corner-pocket-backend http://localhost:8000

About

corner-pocket-web

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.