This is a web app that is designed to be used by anyone who plays pick-up team sports or games. It allows the user to enter all of the players who are playing and it will split them into two even teams based on the skill levels entered by the user.
To get this project up and running on your machine to do any testing or development just pull it down to your machine. It is connected to a server and database that is hosted on heroku. Source code for the server can be found here. (https://github.com/DustinHaefele/even-teams-server). A development version of this page connected to the server here (https://even-teams.now.sh/) You can play around with it by logging in with UserName: HarryPotter Password: Password1!
All the dependencies are listed in the package.json.
To install them just run.
npm install
This app has a smoke test written for each component and page.
To run these tests just run
npm test
When you navigate to the page you will find youself at this landing page.
From there you can either login or register by clicking the links and filling out the form. After you are logged in it will take you to your groups page.
Here you can either select a group you created before or create a new group. Once you have selected a group it will take you to that group page.
On the group page you can add as many players as you want and give them a skill level and once you are ready you can click make even teams and the Even-Teams Algorithm will do it's work to make the most even teams mathmatically possible.
- Dustin Haefele
- Thanks to my Wednesday Night Volleyball people, and our inability to choose teams for inspiring the idea!