Thank you for your interest in contributing to Smart Document Router! This document provides guidelines for contributing to the project.
- Fork the repository on GitHub
- Clone your fork locally
- Create a feature branch for your changes
- Make your changes following the guidelines below
- Test your changes thoroughly
- Submit a pull request
- Node.js 18+ and npm
- Python 3.9+
- MongoDB
- Docker (optional)
- Follow the Local Development Setup guide
- Run the backend tests:
make test - Run the frontend:
cd packages/typescript/frontend && npm run dev
- Use TypeScript for all new code
- Follow the existing component structure in
packages/typescript/frontend/src/components/ - Use Tailwind CSS for styling (Material-UI for complex components)
- Write meaningful component and function names
- Add proper TypeScript types
- Add docstrings for public functions
- Use Pydantic models for data validation
- Write tests for new features
- Ensure all existing tests pass
- Run the test suite before submitting PRs
- Provide a clear description of your changes
- Include any relevant issue numbers
- Ensure your code follows the project's style guidelines
- Add tests for new functionality
- Update documentation if needed
- Open an issue for bugs or feature requests
- Join our community discussions
- Check existing issues and pull requests
Thank you for contributing to Smart Document Router!