League of Legends is one of the world’s most popular video games, developed by Riot Games. It features a team-based competitive game mode based on strategy and outplaying opponents. There are a lot of features in League of Legends, but in this repository I try to make solo queue feature.
This is a for fun project, I'm trying to implements something similar to the League of Legends Queue.
The basic premisses is:
- Each player has a rank;
- Each room has between one and five players;
- Each room could be in a queue;
- Each queue could be have a match.
This project has some amazing features, and can be described as follow:
- Create a player;
- Create a room;
- Invite a player to a room;
- Join in a room;
- Start a queue;
- Accept a game.
All this features are make by API requests and socket events.
You can start cloning the repository:
git clone git@github.com:andraderaul/league-of-legends-queue
You should have a docker installed. Then runs the follow commands:
In a terminal start the server
cd server
docker-compose up
In a other terminal start the client
cd server
docker-compose up
You need to create a .env
file with the same keys from the .env.example
. For this you should open a terminal and run this two command:
cp client/.env.example client/.env & cp server/.env.example server/.env
Front-end:
Back-end: