Thank you for your interest in contributing to DispatchFlow.
-
Clone the repository and install prerequisites (JDK 21, Maven 3.9+, Node.js 18+).
-
Start infrastructure:
docker compose up -d mysql redis rabbitmq
-
Start the backend:
cd back mvn -pl fsd-bootstrap -am clean install -DskipTests mvn -pl fsd-bootstrap spring-boot:run -
Start the frontend:
cd front npm install npm run dev
See README.md for environment, startup, and quality gate details.
-
Create a feature branch from
main:feat/your-topicorfix/your-topic. -
Keep commits focused and write clear commit messages (
feat:,fix:,docs:,refactor:). -
Run tests before opening a pull request:
cd back && mvn -pl fsd-bootstrap -am test cd front && npm run build
-
Open a pull request against
mainwith a concise summary and test plan.
- Backend: Follow existing module boundaries (
fsd-order,fsd-dispatch,fsd-vehicle). Domain logic belongs in service layers, not controllers. - Frontend: Vue 3 Composition API, TypeScript, Ant Design Vue. Match existing naming in
src/views/andsrc/api/. - SQL: Add numbered scripts under
back/sql/init/usingV{n}__description.sqlnaming. - Scope: Prefer minimal, focused changes. Do not refactor unrelated code in the same PR.
When filing an issue, include:
- Steps to reproduce
- Expected vs actual behavior
- Backend logs or browser console output if applicable
- Environment (OS, JDK/Node version, Docker or local services)
Please do not open public issues for security vulnerabilities. See SECURITY.md.