How happysloth0908/ddukdoc works
Project type and purpose
• DDUKDOC is a full‑stack web application for creating, signing, storing, and verifying digital documents with blockchain.
• Frontend: React + TypeScript SPA (Vite) that runs in the user’s browser.
• Backend: Monolithic Java Spring Boot application, broken into domain modules (auth, document, contract, user, share, template, material, notification, verification, superapp).
• Smart‑contract layer: Node.js script (contracts/index.js) interacting with a blockchain network.
• DevOps/CICD: Jenkins + GitLab pipelines, Docker, Blue‑Green deployments, ELK, SonarQube, Mattermost notifications.
File structure
• Top‑level folders:
• frontend – React SPA source, assets, API wrappers, state stores, mocks, Storybook stories, Vite config, Tailwind
• backend – Gradle‑based Spring Boot project with Dockerfile, security, config, domain packages, utilities (PDF, blockchain, encryption), infra clients (OAuth, Redis, S3)
• contracts – Node.js script + ABI JSON for blockchain interactions
• exec – database schema and seed scripts
• CI/CD: Jenkinsfile, .gitlab/ templates, sonar settings
• Deployment artifacts: Dockerfiles under backend/ and contracts/
Key insights from README
• Architecture uses environment isolation (dev/prod), Blue‑Green deployments, selective build & deploy by component, real‑time monitoring via ELK, SonarQube quality gate, Mattermost alerts.
• Security: JWT, OAuth2 (Kakao, SSAFY), envelope encryption via AWS KMS, file/data encryption strategies, S3 storage, Redis for sessions/cache.