Thank you for contributing to SmartWatt.
- Python 3.10+ for backend work.
- Node.js 18+ for frontend work.
- Git configured with your identity.
- Create a feature branch from
main. - Make focused, reviewable commits.
- Run relevant tests before opening a pull request.
- Submit a pull request with clear scope, motivation, and verification notes.
- Keep backend and frontend contracts consistent.
- Use descriptive names for routes, schema fields, and state keys.
- Avoid unrelated refactors in functional pull requests.
- Include documentation updates when behavior changes.
Backend:
cd Backend
pytest tests/unit
pytest tests/integrationFrontend:
cd Frontend
npm run lint
npm run build- Change is scoped and explained.
- Local validation is complete.
- Secrets are not committed.
- Documentation has been updated where needed.