This repository contains a simple web application for drawing names among multiple groups without allowing members of the same group to draw each other.
The url : https://familydraw.berthet.ch
-
Clone the repository
git clone [email protected]:BerthetQuentin/FamilyGroupDraw.git
-
Open the project Navigate into the project folder and open the
index.html
file in your web browser:cd FamilyGroupDraw
cd app/
open index.html
-
Add members and perform the draw
- Enter the name of a participant and their group.
- Click
Ajouter
to add them to the list. - Repeat for as many participants as needed.
- Click
Tirage
to see the resulting assignments if a valid configuration exists.
We welcome contributions to improve the functionality, user experience, and performance of this application!
1.Fork the repository
- Go to the main repository page.
- Click Fork (top-right corner) to create your own copy of the repo.
2.Clone your fork
git clone https://github.com/YourUsername/FamilyGroupDraw.git
cd FamilyGroupDraw
3.Create a new branch
Always create a new branch for your feature or bug fix to keep the main
branch clean:
git checkout -b feature/my-new-feature
4.Make changes and commit
- Implement your changes (e.g., JavaScript logic, CSS styling, HTML structure).
- Add relevant tests or documentation if needed.
- Commit your changes with a clear commit message:
git add . git commit -m "Add new feature for improved draw logic"
5.Push your branch and create a Pull Request
git push origin feature/my-new-feature
Then, go to your fork on GitHub, select your branch, and click Pull Request. Provide a detailed description of what you changed and why.
6.Code Review and Merge
- The repository maintainers will review your Pull Request.
- Please be prepared to update your code if the reviewers suggest improvements or modifications.
- Once approved, your changes will be merged into the main repository.