Thank you for contributing to Sanghathi Backend.
- Fork the repository on GitHub.
- Clone your fork locally.
git clone https://github.com/YOUR-USERNAME/Sanghathi-Backend.git
cd Sanghathi-Backend
git remote add upstream https://github.com/Sanghathi/sanghathi-Backend.git- Install dependencies.
npm install- Create a feature branch.
git checkout -b feature/your-feature-name- Run the backend and implement your changes.
npm run dev-
Validate your API changes before opening PR using Postman or Insomnia.
-
Commit with a clear message.
git commit -m "feat: short description of change"- Push and open a Pull Request to
main.
git push origin feature/your-feature-name- Backend starts and runs without errors.
- Input validation and error handling are preserved.
- API changes are documented.
- No unnecessary logs or dead code.
- PR description clearly explains API and model changes.
- Open an issue with title prefix
Question:. - Add endpoint details, payload, and error response.
- Include reproduction steps and expected output.