Thank you for considering contributing to MovieReel! This open-source project is designed to help users explore details about movies and TV shows using data fetched from the TMDB API. Contributions are what make the open-source community such an incredible place to learn, inspire, and create. Your contributions are highly valued, whether it's fixing a bug, adding a feature, or improving documentation.
Click the Fork button at the top-right corner to create a copy of this repository under your GitHub account.
Clone the repository to your local machine:
git clone https://github.com/yourusername/MovieReel.git
- Install the required dependencies:
npm install
- Create a
.env
file in the root directory and add your TMDB API key:VITE_APP_API_KEY=your_api_key_here
- Run the development server:
npm run dev
- Create a new branch for your feature or bug fix:
git checkout -b feature-or-bug-description
- Make your changes to the codebase, ensuring your work follows the project’s coding guidelines.
- Run the app to ensure your changes work as expected.
- If you’re adding or modifying components, check for UI consistency with the existing design.
- Write tests if applicable and ensure all tests pass:
npm test
- Commit your changes with a clear and concise commit message:
git commit -m "Brief description of your changes"
- Push the changes to your forked repository:
git push origin feature-or-bug-description
- Go to the original MovieReel repository and open a Pull Request (PR).
- Provide a detailed description of your changes and link any relevant issues.
- Wait for the maintainers to review your PR. Feedback or changes might be requested before merging.
To ensure smooth collaboration, please follow these guidelines:
- Code Style: Follow the existing coding style of the project (e.g., formatting, naming conventions). Use
eslint
andprettier
for consistency. - Documentation: Add or update documentation for any new features or modifications.
- Dependencies: Avoid adding unnecessary dependencies. Discuss significant changes in an issue before implementation.
- Issues: When addressing an issue, mention the issue number in your PR description (e.g., "Fixes #123").
- Respectful Communication: Treat everyone in the community with respect and kindness.
Here are some ways you can contribute:
-
Bug Fixes:
- Fix reported issues or improve existing features.
-
New Features:
- Suggest and implement new features that align with the project’s goals (e.g., advanced filtering, recommendations).
-
UI/UX Improvements:
- Enhance the design for a better user experience.
-
Performance Optimization:
- Analyze and optimize code for improved performance.
-
Documentation:
- Improve or add to the documentation for better clarity.
-
Testing:
- Write unit and integration tests to improve code coverage.
If you have any questions about contributing, feel free to:
- Open an issue with your question.
- Contact the maintainers via the repository’s Discussions tab.
We’re excited to see your contributions to MovieReel! Thank you for helping make this project better for the entire community.