Thank you for your interest in contributing to the Resto POS System! 🚀 This guide will help you understand how to contribute effectively and keep the project clean and maintainable.
Click the Fork button on GitHub and clone your fork:
git clone https://github.com/your-username/Resto-POS.git
cd Resto-POS
Always create a new branch before making changes:
git checkout -b feature/your-feature-name
Branch naming conventions:
feature/...→ New featuresfix/...→ Bug fixesui/...→ UI improvementsrefactor/...→ Code improvements
- Keep files organized (separate PHP, CSS, JS properly)
- Follow existing project structure (
src/,config/, etc.) - Avoid unnecessary file duplication
- Use clear and meaningful variable names
- Keep code readable and consistent
- Add comments where necessary (especially complex logic)
- Avoid hardcoding values (use config when possible)
- Maintain responsiveness (mobile-friendly)
- Keep design consistent with existing UI
- Test layouts (no overflow, no broken alignment)
- Clearly document any changes to database structure
- Avoid breaking existing queries
- Test with real data if possible
Make sure you:
- Tested your changes locally (XAMPP/MySQL)
- No PHP errors or console errors
- UI is responsive and clean
- Code follows project structure
- No unnecessary files included
- Push your branch:
git push origin feature/your-feature-name
-
Open a Pull Request on GitHub
-
Include:
- Clear description of changes
- Screenshots (for UI updates)
- Related issue (e.g.
Closes #12)
When creating an issue, include:
- Title: Short and clear
- Description: What happened
- Steps to reproduce
- Expected behavior
- Screenshots (if applicable)
Example:
Bug: Notification not updating in real-time
Steps:
1. Open dashboard
2. Create new order
3. Notification does not update
Expected:
Notification count should increase
For new ideas:
- Clearly explain the feature
- Explain why it’s useful
- (Optional) Suggest implementation
If you find a security issue:
- Do NOT post it publicly
- Report it privately to the maintainer
- Keep commits clean and meaningful
- Do not submit unrelated changes in one PR
- Be respectful in discussions
- Follow the Code of Conduct
All contributions are reviewed before merging. The maintainer may request changes before approval.
Your contributions help improve this system and make it more reliable and professional.
Let’s build something great together 🚀