Thank you for your interest in contributing to ZarishSphere Platform!
Be respectful, inclusive, and professional in all interactions.
- Check if the bug already exists in Issues
- Create a new issue with:
- Clear title
- Steps to reproduce
- Expected vs actual behavior
- Environment details
- Check existing feature requests
- Create an issue with:
- Use case description
- Proposed solution
- Alternative approaches considered
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Write tests
- Commit:
git commit -m 'Add amazing feature' - Push:
git push origin feature/amazing-feature - Open a Pull Request
# Clone your fork
git clone https://github.com/YOUR_USERNAME/zarish-fin.git
cd zarish-fin
# Add upstream
git remote add upstream https://github.com/ZarishSphere-Platform/zarish-fin.git
# Install dependencies
go mod download
# Run tests
go test ./...
# Run locally
go run cmd/server/main.go- Follow Effective Go
- Use
gofmtfor formatting - Run
golintbefore committing - Write meaningful commit messages
type(scope): subject
body
footer
Types: feat, fix, docs, style, refactor, test, chore
Example:
feat(api): add patient search endpoint
Implement search functionality for patients by name, MRN, or date of birth.
Includes pagination and filtering options.
Closes #123
# Run all tests
go test ./...
# Run with coverage
go test -cover ./...
# Run specific test
go test -run TestCreatePatient ./internal/service- Update README.md for user-facing changes
- Add inline comments for complex logic
- Update API documentation
- Include examples
- Open a Discussion on GitHub
- Join our community chat
- Email: zarishsphere@gmail.com
Thank you for contributing! 🎉