Skip to content

khaledalam/football-teams-trade

Repository files navigation

Football Teams Trade | Symfony v6^

Symfony app that allow teams to buy/sell players.

!! App & Doc are still in progress !!

Roles:

  • Master
  • Admin
  • Team Manager
  • Player

Features:

  • Multi-languages

Frontend

  • Template Engine: twig
  • Bootstrap
  • JQuery

Backend

  • Database: SQLite
  • Docker(-compose)
  • Testing: PHPUnit [coverage %]

Functionalities

  • Update team money balance [Admin]
  • See all teams money balance [Admin]
  • See player info page [Admin, Team Manager, Player]
  • Perform buy player action [Team Manager]
  • Perform [Accept/Reject] selling player [Team Manager]
  • [ ]

  • RSS teams and players updates





doctrine/annotations
doctrine/orm
doctrine/doctrine-bundle
doctrine/doctrine-migrations-bundle
symfony/security-bundle
orm-fixtures
symfony/orm-pack

format_currency filter:
composer require twig/intl-extra
composer require twig/extra-bundle

Auth

Admin:
Email: admin@example.com
Pass: password

Team Manager:
Email: team1@example.com
Pass: team1password

Player:
Email: player1@example.com
Pass: player1password


2023-06-04T19:47:08+00:00 [info] User Deprecated: The "url" connection parameter is deprecated. Please use Doctrine\DBAL\Tools\DsnParser to parse a database url before calling Doctrine\DBAL\DriverManager. (DriverManager.php:256 called by DriverManager.php:172, doctrine/dbal#5843, package doctrine/dbal) 2023-06-04T19:47:08+00:00 [info] User Deprecated: Doctrine\DBAL\Connection::getEventManager is deprecated. (Connection.php:296 called by EntityManager.php:167, doctrine/dbal#5784, package doctrine/dbal) 2023-06-04T19:47:08+00:00 [info] User Deprecated: Doctrine\DBAL\Platforms\AbstractPlatform::usesSequenceEmulatedIdentityColumns is deprecated. (AbstractPlatform.php:3945 called by ClassMetadataFactory.php:626, doctrine/dbal#5513, package doctrine/dbal)


rm ./src/Migrations/* 2> /dev/null ;
php bin/console doctrine:database:drop --force --no-interaction &&
php bin/console doctrine:migrations:diff --no-interaction

php bin/console doctrine:database:drop --force --no-interaction &&
php bin/console doctrine:database:create --no-interaction && 
php bin/console  doctrine:migrations:migrate --no-interaction &&
php bin/console  doctrine:fixture:load --no-interaction


docker compose down --remove-orphans
docker compose up -d

About

Symfony app that allow teams to buy/sell players.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published