Thank you for wanting to contribute! Follow these simple steps to get started.
New here? Start with the README for project overview, then check SETUP.md to run the project locally.
We use 3 branches:
development← Send your PRs here! (testing branch, nothing deploys)main← DO NOT send PRs here! (production, auto-deploys to live site)
Workflow: You contribute → development → Maintainer tests locally → main (goes live)
# Fork on GitHub, then:
git clone https://github.com/YOUR_USERNAME/service-status.git
cd service-statusgit checkout development
git pull origin development
git checkout -b feat/your-feature-name- Code your feature/fix
- Test locally (see SETUP.md)
- Run tests:
npm test(frontend) or./mvnw test(backend)
git add .
git commit -m "feat: describe what you did"
git push origin feat/your-feature-name- Go to your fork on GitHub
- Click "New Pull Request"
- Set base to
development(NOTmain!) - Fill description, submit
Branch prefixes:
feat/- New feature (feat/add-dark-mode)fix/- Bug fix (fix/timeout-error)docs/- Documentation (docs/update-readme)test/- Tests (test/add-unit-tests)refactor/- Code improvement (refactor/simplify-api)chore/- Maintenance (chore/update-deps)
Commit format: type: short description
- ✅
feat: add auto-refresh toggle - ✅
fix: handle null response - ❌
updated stuff
DO NOT commit:
- ❌
.envor.env.localfiles - ❌ Database passwords
- ❌ API keys or tokens
- ❌ Supabase credentials
If you accidentally commit a secret:
- Tell maintainer immediately
- Rotate/change the credential
- Delete the commit if possible
Use .env.example files instead (already in repo).
Before opening your PR:
- Code works locally
- Tests pass
- PR targets
development(notmain) - Branch name follows naming rules
- No secrets in code
- Commit messages are clear
- You submit PR to
development - CI tests run automatically
- Maintainer reviews your code
- You address feedback (if any)
- Maintainer merges to
development - Maintainer tests locally
- When ready, maintainer pushes to
main(goes live!)
- Setup issues: SETUP.md
- Found a bug: Open an issue
- Questions: Comment on your PR
Thank you for contributing! 🚀