Thank you for your interest in contributing! 🎉
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/fraud-detection-system.git - Create a branch:
git checkout -b feature/amazing-feature - Install dependencies:
pip install -r backend/requirements.txt - Make your changes
- Test locally:
uvicorn api.main:app --reload(backend) andstreamlit run streamlit_app.py(frontend) - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Create Pull Request
- Use GitHub Issues
- Include steps to reproduce
- Add screenshots if helpful
- Open an Issue first to discuss
- Explain the use case
- Consider implementation approach
- Follow existing code style
- Add comments for complex logic
- Update README if needed
- Test your changes
# 1. Clone and setup
git clone https://github.com/firfircelik/fraud-detection-system.git
cd fraud-detection-system
# 2. Create virtual environment
python -m venv fraud-env
source fraud-env/bin/activate # On Windows: fraud-env\Scripts\activate
# 3. Install backend dependencies
cd backend
pip install -r requirements.txt
# 4. Run backend
uvicorn api.main:app --reload --host 0.0.0.0 --port 8000
# 5. Run Streamlit frontend (in new terminal)
streamlit run streamlit_app.py --server.port 8501- 🔍 New fraud detection algorithms
- 📊 Additional visualization types
- 🌐 Internationalization (i18n)
- ⚡ Performance optimizations
- 📱 Mobile UI improvements
- 🧪 Unit tests
- 📖 Documentation
- Use meaningful variable names
- Add docstrings for functions
- Keep functions focused and small
- Comment complex algorithms
Before submitting:
# Test the backend API
cd backend
uvicorn api.main:app --reload
# Check for Python errors
python -m py_compile api/*.py
# Test the Streamlit frontend
streamlit run streamlit_app.py --server.port 8501
# Test API endpoints
# Visit http://localhost:8000/docs for API documentation
# Test frontend at http://localhost:8501Contributors will be:
- ✅ Added to README credits
- 🎉 Mentioned in release notes
- ⭐ Given contributor badge
- 💬 Open a GitHub Issue
- 📧 Contact @firfircelik
Thank you for making this project better! 🚀