Skip to content

gargsans-yb/footy-league

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Football League Manager

A full-stack application for managing football leagues with custom point systems.

Project Structure

footy/
├── frontend/           # React frontend application
├── backend/           # Flask backend API
└── config/            # Configuration files

Prerequisites

  • Node.js (v14 or higher)
  • Python 3.8+
  • YugabyteDB
  • npm or yarn

Setup Instructions

Backend Setup

  1. Navigate to the backend directory:

    cd backend
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set up environment variables:

    cp .env.example .env
    # Edit .env with your configuration
  5. Run the backend server:

    python app.py

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    cp .env.example .env
    # Edit .env with your configuration
  4. Start the development server:

    npm start

Configuration

The application can be configured through environment variables or config files. See the config directory for more details.

Features

  • Create and manage football leagues
  • Add match results with golden goal support
  • View league standings
  • Custom point system (3-0 for regular wins, 2-1 for golden goals)

About

Small app to create and manage a football league

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published