Skip to content

[#4] Finalize backend bootstrap and docs structure#116

Merged
igorsatsyuk merged 11 commits into
mainfrom
feature/#4-backend-bootstrap-cleanup
May 15, 2026
Merged

[#4] Finalize backend bootstrap and docs structure#116
igorsatsyuk merged 11 commits into
mainfrom
feature/#4-backend-bootstrap-cleanup

Conversation

@igorsatsyuk

@igorsatsyuk igorsatsyuk commented May 14, 2026

Copy link
Copy Markdown
Owner

Description

Completes Issue #4 by finalizing the backend multi-module bootstrap and aligning project documentation/workflow around the current stack and conventions.

Backend changes

  • finalized parent/module Maven setup (Spring Boot 4.x, Java 25+)
  • switched HTTP layer to WebFlux and aligned reactive persistence dependencies/config
  • introduced shared common modules content (event-model, shared-contracts)
  • added service skeleton entrypoints and module-level application configs
  • migrated package/group namespace to lt.satsyuk.distributed.audit
  • aligned source layout with package paths

Documentation cleanup

  • removed redundant root markdown files and consolidated contributor workflow docs
  • introduced standard CONTRIBUTING.md
  • updated docs cross-links and PR template
  • reduced duplication in docs/ by clarifying architecture/flow/deployment doc roles

Closes

Closes #4

Related

Relates to #5
Relates to #6
Relates to #12

Testing

  • cd backend
  • mvn -q test
  • mvn -q validate

Copilot AI review requested due to automatic review settings May 14, 2026 16:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR consolidates the project docs around CONTRIBUTING.md, GITHUB_ISSUES_PLAN.md, and docs/, while bootstrapping the backend Maven multi-module structure with Spring Boot service skeletons and shared contracts/events.

Changes:

  • Replaces old planning/index docs with a cleaner contributing and architecture documentation structure.
  • Adds backend parent/module POM configuration plus starter application classes and service configs.
  • Adds shared event/DTO models and initial database migration for the audit event store.

Reviewed changes

Copilot reviewed 40 out of 40 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
START_HERE.md Updates onboarding document links and next action.
README.md Points quick start and contributing workflow to current docs.
README_GITHUB_PLAN.md Removes superseded planning overview.
PROJECT_SUMMARY.md Removes superseded summary doc.
PRE_DEVELOPMENT_CHECKLIST.md Removes obsolete checklist.
INDEX.md Removes obsolete index/planning doc.
GITHUB_MANAGEMENT_GUIDE.md Removes workflow guide replaced by CONTRIBUTING.md.
GITHUB_ISSUES_TEMPLATES.md Removes old ready-made issue templates.
GITHUB_ISSUES_PLAN.md Marks issue #4 subtasks done and aligns backend plan with WebFlux/R2DBC.
docs/DEPLOYMENT.md Converts deployment doc into a runbook map.
docs/CQRS_FLOW.md Expands runtime CQRS/event flow.
docs/ARCHITECTURE.md Documents canonical component boundaries and integrations.
CONTRIBUTING.md Adds contributor workflow, standards, commands, and review checklist.
backend/README.md Adds backend module overview, build/run instructions, env vars, and architecture diagram.
backend/pom.xml Configures backend parent Maven project, modules, managed dependencies, and plugins.
backend/common/event-model/pom.xml Adds event-model module dependencies.
backend/common/event-model/src/main/java/lt/satsyuk/distributed/audit/event/AuditEvent.java Adds base audit event model.
backend/common/event-model/src/main/java/lt/satsyuk/distributed/audit/event/EventType.java Adds domain event type enum.
backend/common/event-model/src/main/java/lt/satsyuk/distributed/audit/event/UserLoggedInEvent.java Adds user-login domain event factory/model.
backend/common/event-model/src/test/java/lt/satsyuk/distributed/audit/event/UserLoggedInEventTest.java Adds placeholder test file.
backend/common/shared-contracts/pom.xml Adds shared contracts module dependencies.
backend/common/shared-contracts/src/main/java/lt/satsyuk/distributed/audit/contracts/command/UserLoginCommand.java Adds command DTO with validation.
backend/common/shared-contracts/src/main/java/lt/satsyuk/distributed/audit/contracts/dto/AuditEventDto.java Adds read-model audit event DTO.
backend/common/shared-contracts/src/main/java/lt/satsyuk/distributed/audit/contracts/dto/CommandResponse.java Adds generic command response DTO.
backend/command-service/pom.xml Adds command-service dependencies and boot plugin.
backend/command-service/src/main/java/lt/satsyuk/distributed/audit/command/CommandServiceApplication.java Adds command-service Spring Boot entry point.
backend/command-service/src/main/resources/application.yml Adds command-service port, Kafka, actuator, and logging config.
backend/command-service/src/test/java/lt/satsyuk/distributed/audit/command/CommandServiceIntegrationTest.java Adds embedded-Kafka integration-test meta-annotation.
backend/event-store-service/pom.xml Adds event-store dependencies for WebFlux, R2DBC, Kafka, Flyway, and tests.
backend/event-store-service/src/main/java/lt/satsyuk/distributed/audit/eventstore/EventStoreServiceApplication.java Adds event-store Spring Boot entry point.
backend/event-store-service/src/main/resources/application.yml Adds event-store DB, Flyway, Kafka, actuator, and logging config.
backend/event-store-service/src/main/resources/db/migration/V1__init_audit_schema.sql Adds Flyway migration for audit.events.
backend/query-service/pom.xml Adds query-service dependencies for WebFlux/R2DBC/contracts.
backend/query-service/src/main/java/lt/satsyuk/distributed/audit/query/QueryServiceApplication.java Adds query-service Spring Boot entry point.
backend/query-service/src/main/resources/application.yml Adds query-service DB, actuator, and logging config.
backend/audit-writer-service/pom.xml Adds audit-writer dependencies for Kafka/Web3j.
backend/audit-writer-service/src/main/java/lt/satsyuk/distributed/audit/auditwriter/AuditWriterServiceApplication.java Adds audit-writer Spring Boot entry point.
backend/audit-writer-service/src/main/resources/application.yml Adds audit-writer Kafka, Web3j, actuator, and logging config.
AGENTS.md Updates agent guidance to point at current docs.
.github/pull_request_template.md Expands PR template checklist and testing sections.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/event-store-service/src/main/resources/application.yml Outdated
Comment thread backend/query-service/src/main/resources/application.yml Outdated
Comment thread backend/README.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 40 out of 41 changed files in this pull request and generated 2 comments.

Comment thread backend/audit-writer-service/pom.xml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 40 out of 41 changed files in this pull request and generated 1 comment.

Comment thread backend/README.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 40 out of 41 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 40 out of 41 changed files in this pull request and generated 3 comments.

Comment thread docs/DEPLOYMENT.md Outdated
Comment thread GITHUB_ISSUES_PLAN.md Outdated
Comment thread GITHUB_ISSUES_PLAN.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 40 out of 41 changed files in this pull request and generated 3 comments.

Comment thread backend/README.md Outdated
Comment thread CONTRIBUTING.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 41 out of 42 changed files in this pull request and generated 3 comments.

Comment thread GITHUB_ISSUES_PLAN.md Outdated
Comment thread deploy/init-db.sql Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 41 out of 42 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 41 out of 42 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 42 out of 43 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 42 out of 43 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants