Thank you for your interest in contributing to PitchLense! This document provides guidelines and information for contributors.
- Code of Conduct
- Getting Started
- Development Setup
- Contributing Guidelines
- Pull Request Process
- Issue Reporting
- Feature Requests
- Code Style
- Testing
- Documentation
This project adheres to a code of conduct that we expect all contributors to follow. Please be respectful, inclusive, and constructive in all interactions.
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/your-username/PitchLense.git cd PitchLense - Add the upstream repository:
git remote add upstream https://github.com/connectaman/PitchLense.git
- Node.js (v14 or higher)
- npm or yarn
- Git
-
Install backend dependencies:
cd backend npm install -
Set up environment variables: Create a
backend/.envfile with the required variables (see README.md for details) -
Start the development server:
npm run start
-
Access the application: Open
http://localhost:5178in your browser
We welcome several types of contributions:
- Bug fixes: Fix issues and improve stability
- Feature additions: Add new functionality
- Documentation: Improve or add documentation
- UI/UX improvements: Enhance the user interface
- Performance optimizations: Improve application performance
- Testing: Add or improve test coverage
- Check existing issues to see if your contribution is already being worked on
- Create an issue for significant changes to discuss the approach
- Keep changes focused - one feature or bug fix per pull request
git checkout -b feature/your-feature-name
# or
git checkout -b fix/your-bug-fix- Write clean, readable code
- Follow the existing code style
- Add comments for complex logic
- Update documentation if needed
- Test your changes thoroughly
- Ensure the application still works as expected
- Check for any console errors
- Test on different screen sizes if UI changes
git add .
git commit -m "Add: brief description of your changes"Use clear, descriptive commit messages:
Add:for new featuresFix:for bug fixesUpdate:for improvementsRemove:for deletionsDocs:for documentation changes
git push origin feature/your-feature-nameThen create a pull request on GitHub with:
- Clear title and description
- Reference any related issues
- Screenshots for UI changes
- Testing instructions
When reporting bugs, please include:
- Clear description of the issue
- Steps to reproduce the problem
- Expected behavior vs actual behavior
- Screenshots if applicable
- Environment details (browser, OS, etc.)
- Console errors if any
**Bug Description:**
[Clear description of the bug]
**Steps to Reproduce:**
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected Behavior:**
[What you expected to happen]
**Actual Behavior:**
[What actually happened]
**Screenshots:**
[If applicable, add screenshots]
**Environment:**
- OS: [e.g., Windows 10, macOS, Linux]
- Browser: [e.g., Chrome, Firefox, Safari]
- Version: [e.g., 22]
**Additional Context:**
[Any other context about the problem]For feature requests, please:
- Check existing issues to avoid duplicates
- Describe the feature clearly
- Explain the use case and benefits
- Provide examples if possible
- Consider implementation complexity
- Use consistent indentation (2 spaces)
- Use meaningful variable and function names
- Add comments for complex logic
- Follow existing patterns in the codebase
- Keep related files together
- Use descriptive file names
- Follow the existing directory structure
- Use Tailwind CSS classes when possible
- Add custom styles to
styles.csswhen needed - Follow the existing color scheme and design patterns
- Ensure responsive design
Before submitting a pull request:
- Test the feature thoroughly
- Check different browsers (Chrome, Firefox, Safari)
- Test responsive design on different screen sizes
- Verify accessibility (keyboard navigation, screen readers)
- Check for console errors
- Feature works as expected
- No console errors
- Responsive design works
- Accessibility maintained
- Performance not degraded
- Documentation updated
- Add comments for complex functions
- Document API endpoints
- Update README.md for significant changes
- Include examples in documentation
- Update feature descriptions
- Add screenshots for UI changes
- Provide clear usage instructions
- Update the built-in help system
If you need help:
- Check the documentation in README.md
- Search existing issues for similar problems
- Create a new issue with your question
- Join discussions in existing issues
Contributors will be recognized in:
- README.md contributors section
- Release notes
- Project documentation
By contributing to PitchLense, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to PitchLense! 🚀