Life ConnectLife Connect
Table of contents
Architecture
Services
Swagger Docs
GitHub
Table of contents
Architecture
Services
Swagger Docs
GitHub
  • Backend (Java / Spring Boot)

    • adb (parent Maven + proxy)
    • adb-persons
    • adb-parts
    • adb-contracts
    • adb-accounting
    • adb-files
    • adb-utilities
    • adb-aggregates
    • adb-views
    • adb-reports
  • Frontend

    • adb-ui
    • adb-web
  • Infrastructure & Outillage

    • adb-charts
    • adb-infrastructure
    • adb-tests-artillery
    • adb-doc
  • Services externes (hors monorepo)

    • adb-tickets (externe)
    • adb-notes (déprécié)
    • adb-graph (externe, statut incomplet)

adb-doc

Rôle

Site de documentation technique et fonctionnelle de la plateforme — c'est-à-dire ce site. Construit avec VuePress 2 (Markdown → site statique Vue 3).

Stack

ÉlémentValeur
VuePress2.0.0-rc.7
Theme@vuepress/theme-default 2.0.0-rc.11
Bundler@vuepress/bundler-vite
Vue3.4.0
Search@vuepress/plugin-search 2.0.0-rc.30
Mermaidvuepress-plugin-md-enhance + mermaid 11.4
Hosting actuelAWS EC2 + Nginx
Hosting cibleCloudflare Pages (en cours de migration)

Structure

adb-doc/
├── docs/
│   ├── index.md                  Table of contents
│   ├── architecture/             Vue d'ensemble (overview, communication, data, auth)
│   ├── services/                 Fiches projet (une par projet du monorepo)
│   ├── functional-epics/         Epics fonctionnelles existantes
│   ├── technical-epics/          Epics techniques existantes
│   ├── productBoard/             Specs produit
│   ├── implicit/                 Specs implicites (callbacks, etc.)
│   ├── data-dictionary.md        Dictionnaire des collections
│   ├── assets/                   Images, diagrammes
│   └── .vuepress/
│       └── config.js             Configuration site (sidebar, plugins)
├── package.json                  Scripts + deps
├── bitbucket-pipelines.yml       CI/CD historique vers EC2
└── readme.md

Sections

Architecture (nouveau)

Vue d'ensemble cross-cutting du monorepo :

  • Overview — schéma global + inventaire.
  • Communication — patterns inter-services, FQDN, gateway, BFF, événements.
  • Data — MongoDB, S3, Neo4j, messaging.
  • Auth — Keycloak, JWT, BFF.

Services (nouveau)

Une fiche détaillée par projet : services/.

Functional Epics (existant)

Cas d'usage métier, organisés par domaine : display, process, reporting, stateMachine, utility. Voir l'index sur la page d'accueil.

Technical Epics (existant)

Sujets techniques transverses : environnement, logging, tracing, OpenAPI, sécurité, messaging, tests.

Product Board / Implicit

Specs et notes orientées produit (rental process, ticketing, callbacks).

Configuration

docs/.vuepress/config.js — configuration VuePress :

  • Theme : default avec navbar (Architecture, Services, Swagger Docs).
  • Sidebar : structurée par sections (/architecture/, /services/).
  • Plugins :
    • searchPlugin — recherche full-text.
    • mdEnhancePlugin({ mermaid: true }) — rendu des diagrammes Mermaid.

Build

npm install
npm run docs:dev            # Dev server (localhost:8080)
npm run docs:build          # Build statique → docs/.vuepress/dist/
npm run docs:clean-dev      # Dev avec cache vidé
npm run docs:update-package # Update VuePress

Déploiement

Historique : Bitbucket Pipelines → AWS EC2

bitbucket-pipelines.yml :

  1. Build : Node 18 Alpine, npm install + npm run docs:build, artifact docs/.vuepress/dist/**.
  2. Deploy : SSH vers EC2 (SSH_PRIVATE_KEY, EC2_IP_ADDRESS), SCP vers EC2_REMOTE_PATH, reload Nginx.

Cible : Cloudflare Pages

Configuration prévue (à provisionner côté dashboard Cloudflare) :

  • Build command : npm run docs:build
  • Output directory : docs/.vuepress/dist
  • Root directory : adb-doc/
  • Node version : 20
  • Branch : main (production), preview deploy par PR

Une fois Cloudflare Pages opérationnel, la pipeline Bitbucket sera dépréciée.

Liens

  • Code : adb-doc/
  • Config : adb-doc/docs/.vuepress/config.js
Edit this page
Last Updated:
Contributors: gregory
Prev
adb-tests-artillery