This project is a server API for organizing and managing EA Sports FC championships. It allows players to register, join championships, and track their performance through detailed rounds and scoreboards.
- Player management: Players can register with name, email, and password.
- Championship creation: Manage multiple championships with different participants.
- Match rounds: Players face each other in two rounds per week (home and away).
- Result tracking: Match results are recorded, including goals scored and whether the player played at home.
- Scoreboard: Track each player's progress in the championship, including wins, losses, draws, goals scored, and goals conceded.
- Prisma ORM for database modeling.
- NestJS as the backend framework.
- PostgreSQL as the database.
- Install the following extension Dev Containers in your Visual Studio Code.
- Press
CTRL + SHIFT + P
on your keyboard to open VS Code command palette, then search for this optionDev Containers: Rebuild and Reopen in Container
and press Enter.
- Inside the VS Code container, update your .env file by replacing all
localhost
occurrences with your machine's IP address. - Run PostgreSQL and RabbitMQ with docker
- PostgreSQL:
docker run --name postgres -p 5432:5432 -e POSTGRES_USER=docker -e POSTGRES_PASSWORD=docker -d postgres
- PostgreSQL:
- Now, run
yarn start:dev
in your VS Code integrated terminal.