Teams, fixtures, and standings for sports club staff.
A scheduled fixture belongs on the calendar, but it should not count in the standings until someone records the score. RosterEdge keeps team and staff records, fixture scheduling, and club reports in one workspace. Staff can record results from the fixture list and export standings and financial reports to PDF.
- Team and staff directories. Organize teams by category and assign catalog roles to club staff.
- Match scheduling. Choose the event, venue, start and end times, and home and away teams in one form.
- Result entry. Record or correct a final score without reopening the scheduling form.
- Season reporting. Review standings, scoring, and schedule density without counting unplayed fixtures as 0–0 draws.
- Payment reports. Compare payments by method or subscription plan.
- PDF exports. Download any of the 12 club-scoped reports as a server-generated PDF.
- Club-scoped access. Sign in with a roster account tied to your club; the API checks access independently of browser navigation.
- Spanish and English. The app includes translations for both languages.
These screenshots show the running app with fictional club data.
Record a final score from the match list.
Standings count finalized results and can be exported to PDF.
Compare net revenue and payment counts by payment method.
Use Node.js 22 with npm, JDK 21, and PostgreSQL 17 with psql. The backend includes a Maven wrapper. Start PostgreSQL and create a disposable database and a role with permission to create tables, sequences, and schemas.
| Variable | Purpose | Default |
|---|---|---|
POSTGRES_DB |
Database name | roster_db |
POSTGRES_PORT |
Local PostgreSQL port | 5431 |
POSTGRES_USER, POSTGRES_PASSWORD |
Database credentials | Required |
SPRING_PROFILES_ACTIVE |
Use dev for local development |
No active profile |
VITE_BACKEND_URL |
Frontend API base URL including /api, without a trailing slash |
Required |
The example uses PostgreSQL on port 5432. Substitute your local database and role names if they differ, then start the API:
git clone https://github.com/diegnghtmr/roster-edge.git
cd roster-edge
export POSTGRES_DB=rosteredge_demo POSTGRES_PORT=5432 POSTGRES_USER=roster_local
read -rs -p 'Local PostgreSQL password: ' POSTGRES_PASSWORD; printf '\n'
export POSTGRES_PASSWORD
export SPRING_PROFILES_ACTIVE=dev
cd backend
./mvnw spring-boot:run -Dspring-boot.run.arguments=--server.address=127.0.0.1The API base is http://127.0.0.1:8081/api, with a public GET /api/health/ endpoint. Flyway migrates the database on startup; it does not create demo accounts or populate catalogs.
In a second terminal, from the checkout:
cd frontend
npm ci
VITE_BACKEND_URL=http://127.0.0.1:8081/api npm run dev -- --host 127.0.0.1 --port 5173 --strictPortOpen http://127.0.0.1:5173. To try the app without provisioning an account, import the synthetic demo into the empty local database.
The browser calls the Spring Boot API over HTTP; only the API connects to PostgreSQL. React Router guards and lazy-loads routes, so charts load with their reports. The API generates PDFs from the same club-scoped data as the JSON reports; the browser only downloads the file. The API also commits match scheduling, team assignments, and the in-app notification in one transaction.
flowchart LR
SPA["Club workspace (React SPA)"] -->|"HTTP / JSON and PDF"| API["Club-scoped REST API (Spring Boot)"]
API -->|"JDBC / SQL"| DB["PostgreSQL (Flyway migrations)"]
| Layer | Technology |
|---|---|
| Web app | React 19, TypeScript, Vite, React Router, TanStack Query |
| Reports and exports | Recharts (charts), OpenPDF (API downloads) |
| API | Java 21, Spring Boot 3.5, Spring Data JDBC |
| Database | PostgreSQL 17, Flyway |
| Testing | JUnit with PostgreSQL, Vitest and Testing Library, Playwright and Chromium |
Keep the database credentials exported as above, but point POSTGRES_DB at a separate disposable database. From the repository root:
(cd backend && SPRING_PROFILES_ACTIVE=test ./mvnw -B verify)
(cd frontend && npm ci && NODE_OPTIONS=--no-experimental-webstorage npm run test -- --run)
(cd frontend && npm run lint)
(cd frontend && VITE_BACKEND_URL=http://127.0.0.1:8081/api npm run build)Backend tests cover empty schemas, restarts, authorization, rollback, and report correctness. CI runs the backend and frontend suites, builds the frontend, and runs a Chromium smoke test against the packaged API and built frontend on pushes and pull requests targeting main.
- API, staff roles, and club scoping — session lifecycle, report downloads, and match result rules.
- Configuration — environment variables, built frontend preview, and CORS.
- Database and demo data — Flyway, disposable fixtures, and a result-entry walkthrough.
- Packaged browser smoke — how to run the Chromium checks and capture screenshots.
RosterEdge is a team project. Contributors credited in the repository history:
- Diego Alejandro Flores Quintero (
diegnghtmr) - Edwin Viña R (
ecodant) Spalax-devJorge-ivan-aa(Git author name)
RosterEdge is licensed under the MIT License.



