To ensure the stability of the main branch, we follow a strict branching strategy.
- main: The production-ready branch. Only stable and tested code should be merged here.
- **feature/*: For new features and enhancements.
- **bugfix/*: For bug fixes.
- **docs/*: For documentation updates.
- Create a new branch from
main(e.g.,feature/react-migration). - Make your changes in the new branch.
- Run all tests and verify frontend changes.
- Open a Pull Request (PR) to merge into
main. - Once reviewed and approved, merge the PR.
The docs/ folder contains the production build of the React frontend. It is automatically deployed to GitHub Pages when changes are pushed to main.
Do not edit files in docs/ directly. Instead, make changes in marketplace-frontend/src and run npm run build from the marketplace-frontend directory.