This project is a tournament management platform designed to create tournaments, link teams, and add points to respective teams. The goal is to automatically generate charts based on the data, offering a clear and dynamic view of team standings and performance throughout the tournament.
- Create Tournaments: Easily set up new tournaments with custom rules and details.
- Team Management: Link teams to tournaments and manage their details.
- Point System: Add and update points for each team, automatically reflecting on the tournament charts.
- Chart Visualization: Dynamic charts that provide a clear view of the tournament standings and scores.
- Next.js: A React framework for building server-side rendered applications.
- ShadCN UI: A customizable component library to streamline the UI development process.
- Firebase Firestore: A NoSQL cloud database for storing tournament and team data in real-time.
- Node.js: Make sure you have Node.js installed (v16 or higher).
- Firebase Account: You'll need a Firebase project with Firestore set up.
-
Clone the Repository:
git clone git@github.com:LisaGHeclys/Tournament-Pool.git cd Tournament-Pool
-
Install Dependencies:
npm install
-
Set Up Firebase:
- Go to the Firebase console, create a new project, and set up Firestore.
- Copy your Firebase credentials (API Key, Project ID, etc.) into a
.env.local
file at the root of the project:
NEXT_PUBLIC_FIREBASE_API_KEY=your-api-key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-auth-domain NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-storage-bucket NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id NEXT_PUBLIC_FIREBASE_APP_ID=your-app-id
-
Run the Development Server:
npm run dev
Open http://localhost:3000 to view the app in your browser.
To build the application for production, run:
npm run build
We welcome contributions from the community to improve this project. Here's how you can get involved:
Follow these steps to commit changes:
-
Create a new branch: Start by creating a branch from an issue of the repository on GitHub.
git fetch origin git checkout "Name of your issue, ex: 1-init-project"
-
Make your changes: After you make your changes or additions, add the files to staging.
git add -A
-
Write a clear, concise commit message: Be sure to summarize your changes in the commit message.
git commit -m "add: feature description" git commit -m "fix: fix bug description" git commit -m "wip: work in progress"
-
Push your changes to your branch:
git push origin "Name of your issue, ex: 1-init-project"
-
Create a Pull Request (PR): Once your changes are pushed, go to the repository on GitHub, and create a pull request from your feature branch to the
dev
branch.- In the pull request, provide a description of what your changes do and any relevant context.
- Wait for code review, and make any requested changes.
- Code Style: Ensure your code follows the project’s coding conventions.
- Documentation: For new features or changes, update the README or other relevant documentation.
If you encounter any issues or have questions, here’s how you can reach out:
-
Submit an Issue: If you find a bug or want to request a new feature, please submit an issue via the Tournament-Pool Issues Page.
- Be sure to provide as much context as possible (steps to reproduce, screenshots, etc.).
-
Message Me: If you need direct support or want to discuss the project, you can reach me by:
- Opening a GitHub Discussion.
- Sending me a message via my GitHub profile.
I’ll get back to you as soon as possible. Your feedback and questions are always welcome!