Contributing
How to contribute to UC ORB Showcase.
Development Setup
- Fork the repository
- Follow the Getting Started guide
- Create a feature branch:
git checkout -b feature/your-feature
Making Changes
Frontend Changes
- Components in
frontend/components/ - Pages in
frontend/app/ - State management in
frontend/store/ - Run
npm run devto test locally
Backend Changes
- API endpoints in
backend/main.py - Database models in
backend/models.py - Run
uvicorn main:app --reloadto test locally
Database Changes
- Modify
models.py - Update documentation if schema changes
- Test with sample data
Testing
- Frontend: Manual testing in browser
- Backend: Use
/docsendpoint to test API - Integration: Test full workflow from frontend to database
Pull Request Process
- Test your changes locally with Docker Compose
- Update documentation if needed
- Create pull request with clear description
- Address review feedback if any
Code Style
- Frontend: Use TypeScript, follow existing patterns
- Backend: Use Python type hints, follow FastAPI conventions
- General: Keep code simple and readable
Documentation
Update relevant documentation files in the orb-docs repository:
- API changes → update
api.md - New components → update
frontend-components.md - Database changes → update
data-model.md