π»π³ TiαΊΏng Viα»t | π¬π§ English β TΓ i liα»u song ngα»― / Bilingual documentation
[VN] ΔΓ’y lΓ dα»± Γ‘n hα»c tαΊp cα»§a Nguyα» n SΖ‘n β xΓ’y dα»±ng mα»t Internal Developer Platform hoΓ n chα»nh vα»i kiαΊΏn trΓΊc production-ready. Mα»i gΓ³p Γ½, feedback, hoαΊ·c pull request Δα»u Δược chΓ o ΔΓ³n. HΓ£y mα» issue hoαΊ·c liΓͺn hα» trα»±c tiαΊΏp nαΊΏu bαΊ‘n cΓ³ Γ½ tΖ°α»ng cαΊ£i thiα»n!
[EN] This is a learning project by Nguyen Son β building a complete Internal Developer Platform with production-ready architecture. All feedback, suggestions, and pull requests are welcome. Feel free to open an issue or reach out directly if you have ideas for improvement!
Enterprise-grade platform engineering solution for modern DevOps teams
A production-ready Internal Developer Platform that enables engineering teams to self-service infrastructure provisioning, application deployments, and environment management through a unified portal. Built with cloud-native principles, GitOps workflows, and enterprise security patterns.
Mα»t Internal Developer Platform cαΊ₯p production giΓΊp cΓ‘c team kα»Ή thuαΊt tα»± phα»₯c vα»₯ viα»c cung cαΊ₯p hαΊ‘ tαΊ§ng, triα»n khai α»©ng dα»₯ng, vΓ quαΊ£n lΓ½ mΓ΄i trΖ°α»ng thΓ΄ng qua mα»t portal thα»ng nhαΊ₯t. Δược xΓ’y dα»±ng theo nguyΓͺn tαΊ―c cloud-native, quy trΓ¬nh GitOps, vΓ cΓ‘c mαΊ«u bαΊ£o mαΊt doanh nghiα»p.
Dα»± Γ‘n bao gα»m:
- Portal tα»± phα»₯c vα»₯ (React) β quαΊ£n lΓ½ service, deployment, environment
- API Gateway (Node.js/Express) β xΓ‘c thα»±c, phΓ’n quyα»n, rate limiting
- HαΊ‘ tαΊ§ng dΖ°α»i dαΊ‘ng mΓ£ (Terraform) β 10 module cho AWS (EKS, RDS, VPC...)
- CI/CD hoΓ n chα»nh (GitHub Actions) β 14 workflow tα»± Δα»ng
- Observability stack β Prometheus, Grafana, Jaeger, Loki
- Service mesh (Istio) + Canary deployment (Flagger)
- Chaos engineering (LitmusChaos) cho kiα»m thα» Δα» bα»n
- 14 GitHub Actions workflows covering CI, CD, security scanning, and compliance
- 10 Terraform modules for AWS infrastructure provisioning (EKS, RDS, ElastiCache, VPC)
- Full Kubernetes stack with Istio service mesh, Flagger canary deployments, and chaos engineering
- Event-driven architecture using NATS JetStream for real-time deployment notifications
- Comprehensive documentation including ADRs, runbooks, SLOs, and onboarding guides
- Monorepo with Turborepo for optimized builds with remote caching
Self-service UI for managing services, deployments, and environments.
| Login | Dashboard | Service Catalog |
|---|---|---|
![]() |
![]() |
![]() |
| Deployments | Health Monitoring | Environments |
|---|---|---|
![]() |
![]() |
![]() |
| Full Portal View |
|---|
![]() |
| Incidents | Audit Log | API Docs |
|---|---|---|
![]() |
![]() |
![]() |
| API Health |
|---|
![]() |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Developer Portal (React) β
β Self-Service UI β’ Service Catalog β
ββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β HTTPS/WSS
ββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββ
β API Gateway (Node.js) β
β Auth β’ RBAC β’ Rate Limiting β’ Audit Logging β
βββββββββ¬βββββββββββββββ¬βββββββββββββββ¬βββββββββββββββ¬βββββββββββββββββββββ
β β β β
ββββββΌβββββ ββββββΌβββββ ββββββΌβββββ ββββββΌβββββ
β Service β β Infra β β Deploy β β Config β
β Catalog β βProvisionβ β Engine β β Mgmt β
ββββββ¬βββββ ββββββ¬βββββ ββββββ¬βββββ ββββββ¬βββββ
β β β β
βββββββββΌβββββββββββββββΌβββββββββββββββΌβββββββββββββββΌβββββββββββββββββββββ
β Infrastructure Layer β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
β βKubernetesβ βTerraform β β ArgoCD β βPostgreSQLβ β Redis β β
β β (EKS) β β (IaC) β β (GitOps) β β (DB) β β (Cache) β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Observability Stack β
β Prometheus β’ Grafana β’ Loki β’ AlertManager β’ Jaeger β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Category | Features |
|---|---|
| Self-Service Portal | Service catalog, one-click deployments, environment provisioning |
| Security & Compliance | RBAC, audit logging, secret management, vulnerability scanning |
| Infrastructure as Code | Terraform modules, Kubernetes manifests, GitOps with ArgoCD |
| CI/CD Pipelines | Multi-stage builds, automated testing, canary deployments |
| Observability | Prometheus metrics, Grafana dashboards, distributed tracing |
| Notifications | Real-time WebSocket updates, Slack integration, PagerDuty |
| Multi-Environment | Dev, staging, production with automated promotion workflows |
| Service Mesh | Istio for traffic management, mTLS, and observability |
| Chaos Engineering | LitmusChaos experiments for resilience testing |
| Performance | Turborepo caching, Docker layer optimization, CDN integration |
- Docker and Docker Compose v2.20+
- Node.js >= 20.0.0
- pnpm >= 8.0.0
# Clone the repository
git clone https://github.com/JasonTM17/Internal_Developer_Platform_DevOps.git
cd Internal_Developer_Platform_DevOps
# Copy environment configuration
cp .env.example .env
# Start all services
docker compose up -d
# Access the platform
# Portal: http://localhost:5173
# API: http://localhost:3000
# Grafana: http://localhost:3001# Install dependencies
pnpm install
# Start development servers
pnpm dev
# Run tests
pnpm test
# Build all packages
pnpm build| Layer | Technology | Purpose |
|---|---|---|
| Frontend | React 18, TypeScript, Vite | Developer portal UI |
| Backend | Node.js, Express, TypeScript | API server |
| Database | PostgreSQL 16 | Primary data store |
| Cache & Queues | Redis 7, BullMQ | Session management, job queues |
| Event Bus | NATS JetStream | Async event-driven messaging |
| Container Orchestration | Kubernetes (EKS) | Production workloads |
| Service Mesh | Istio | Traffic management, mTLS |
| Infrastructure as Code | Terraform | Cloud resource provisioning |
| GitOps | ArgoCD | Continuous deployment |
| CI/CD | GitHub Actions | Build, test, deploy pipelines |
| Monitoring | Prometheus, Grafana | Metrics and dashboards |
| Logging | Loki, Promtail | Centralized log aggregation |
| Tracing | Jaeger, OpenTelemetry | Distributed tracing |
| Security | Trivy, Snyk, CodeQL | Vulnerability scanning |
| Monorepo | Turborepo, pnpm | Build orchestration |
| Testing | Vitest, Playwright | Unit, integration, E2E |
| Code Quality | ESLint, Prettier, Husky | Linting and formatting |
βββ apps/
β βββ api/ # Backend API service (Express + TypeScript)
β βββ portal/ # Frontend developer portal (React + Vite)
βββ packages/
β βββ shared/ # Shared utilities and types
β βββ ui/ # Shared UI component library
β βββ cli/ # CLI tool for platform operations
β βββ config/ # Shared ESLint, TypeScript, Prettier configs
βββ infra/
β βββ terraform/ # 10 IaC modules (EKS, RDS, VPC, IAM, etc.)
β βββ kubernetes/ # K8s manifests and Helm charts
β βββ argocd/ # GitOps application definitions
β βββ istio/ # Service mesh configuration
β βββ flagger/ # Canary deployment automation
β βββ chaos/ # LitmusChaos experiments
β βββ monitoring/ # Prometheus, Grafana, Loki, Jaeger
βββ docs/
β βββ adr/ # 10 Architecture Decision Records
β βββ api/ # OpenAPI 3.1 spec + auth/pagination docs
β βββ architecture/ # Technology radar, system diagrams
β βββ runbooks/ # Disaster recovery, incident response
β βββ slo/ # Service Level Objectives
β βββ onboarding/ # Developer onboarding guides
βββ scripts/ # Automation and utility scripts
βββ .github/
β βββ workflows/ # 14 CI/CD pipeline definitions
β βββ ISSUE_TEMPLATE/ # Issue and PR templates
βββ docker-compose.yaml # Local development environment
βββ turbo.json # Turborepo pipeline configuration
βββ pnpm-workspace.yaml # Monorepo workspace definition
| Workflow | Trigger | Purpose |
|---|---|---|
| CI | Push, PR | Lint, test, build, type-check |
| Docker Build | Tags, Dockerfile edits | Multi-service container builds to GHCR |
| Security Scan | Weekly + manual | Trivy, Snyk, CodeQL, TruffleHog, Gitleaks |
| CD Dev | Push to develop | Auto-deploy to development environment |
| CD Staging | Push to release/* | Deploy to staging with integration tests |
| CD Production | Manual approval | Blue-green deploy with canary analysis |
| Terraform Plan | PR with infra changes | Preview infrastructure changes |
| Terraform Apply | Merge to main | Apply approved infrastructure changes |
| Release | Version tags | Semantic versioning and changelog |
| Compliance Audit | Weekly | License check, SBOM generation |
| Environment | Branch | URL | Strategy |
|---|---|---|---|
| Development | develop |
dev.idp.internal |
Auto on push |
| Staging | release/* |
staging.idp.internal |
Auto on push |
| Production | main |
idp.internal |
Canary + manual |
Code Push β CI Pipeline β Build β Security Scan β Deploy to Dev
β
Integration Tests
β
Promote to Staging
β
E2E Tests + Canary Analysis
β
Deploy to Production (manual gate)
# Automatic rollback on failed health checks (via Flagger)
# Manual rollback via ArgoCD
argocd app rollback <app-name>
# Or via kubectl
kubectl rollout undo deployment/<deployment-name>Published to GitHub Container Registry:
ghcr.io/jasontm17/internal_developer_platform_devops/idp-api:latest
ghcr.io/jasontm17/internal_developer_platform_devops/idp-portal:latest
Tagged releases:
ghcr.io/jasontm17/internal_developer_platform_devops/idp-api:v1.0.0
ghcr.io/jasontm17/internal_developer_platform_devops/idp-portal:v1.0.0
| Document | Description |
|---|---|
| Architecture Overview | System design and technology radar |
| API Documentation | OpenAPI 3.1 spec and examples |
| ADR Records | 10 Architecture Decision Records |
| Operations Runbooks | Disaster recovery, incident response |
| SLO Definitions | Service Level Objectives |
| Onboarding Guide | New developer setup guide |
| Security Policy | Vulnerability reporting process |
| Contributing Guide | How to contribute |
| Changelog | Release history |
| Release Process | Versioning and release workflow |
| Branching Strategy | Git workflow documentation |
| Roadmap | Feature roadmap and milestones |
# Development
pnpm dev # Start all services in dev mode
pnpm build # Build all packages
pnpm clean # Clean build artifacts
# Code Quality
pnpm lint # Run ESLint across all packages
pnpm lint:fix # Auto-fix lint issues
pnpm format # Format code with Prettier
pnpm format:check # Check formatting
pnpm typecheck # TypeScript type checking
# Testing
pnpm test # Run all tests
pnpm test:unit # Run unit tests only
pnpm test:integration # Run integration tests
# Infrastructure
make terraform-plan # Preview infrastructure changes
make terraform-apply # Apply infrastructure changes
make k8s-deploy # Deploy to KubernetesContributions are welcome. See the Contributing Guide for details.
[VN] Mα»i ΔΓ³ng gΓ³p Δα»u Δược hoan nghΓͺnh! DΓΉ lΓ sα»a lα»i nhα», cαΊ£i thiα»n tΓ i liα»u, hay Δα» xuαΊ₯t tΓnh nΔng mα»i β hΓ£y thoαΊ£i mΓ‘i mα» issue hoαΊ·c pull request. ΔΓ’y lΓ dα»± Γ‘n hα»c tαΊp nΓͺn mΓ¬nh rαΊ₯t trΓ’n trα»ng mα»i gΓ³p Γ½ tα»« cα»ng Δα»ng.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project uses Conventional Commits:
feat:New featuresfix:Bug fixesdocs:Documentation changeschore:Maintenance tasksci:CI/CD changesrefactor:Code refactoringtest:Test additions/changesperf:Performance improvements
This project is licensed under the MIT License. See the LICENSE file for details.










