Skip to content

Latest commit

 

History

199 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BetterBetter - Sports Betting Performance Tracker BetterBetter is a modern, full-stack web application designed to help users track, analyze, and visualize their sports betting performance. The platform provides comprehensive tools for responsible gambling management, combining manual data entry with cutting-edge OCR technology.

Running containers

From the backend directory:

docker compose build
docker compose up -d

To stop containers and free ports:

docker compose down

Seeding the database

Seed scripts are in seeds/. Run them inside the backend container:

docker compose exec backend python seeds/seed_disciplines.py

To seed everything in order (single copy/paste block):

docker compose exec backend python seeds/seed_disciplines.py

docker compose exec backend python seeds/seed_bet_type_dict.py

docker compose exec backend python seeds/seed_currencies.py

docker compose exec backend python seeds/seed_bookmakers.py

docker compose exec backend python seeds/seed_ticket_categories.py

docker compose exec backend python seeds/seed_barcelona_coupons.py

You can also run other seeds from seeds/ (for example seed_currencies.py, seed_bookmakers.py, seed_barcelona_coupons.py).

Environment configuration (.env)

Copy .env.example to .env and fill in your own keys/secrets before starting containers. If values change, rebuild images with docker compose build.

Base URLs

Ports may differ depending on your docker-compose.yml and .env.

  • Backend API: http://localhost:8000/
  • Django admin: http://localhost:8000/admin/
  • Frontend: http://localhost:5173/
  • Swagger/DRF docs http://localhost:8000/swagger/ or http://localhost:8000/redoc/

About

A modern web application designed to track, analyze, and visualize sports betting performance. The system allows users to register their betting slips manually or import them via OCR, analyze results, monitor budgets, and receive alerts when loss limits are exceeded.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages