A fully automated, secure, and scalable multi-language development platform on Google Cloud Platform
Features β’ Quick Start β’ Documentation β’ Architecture β’ Contributing
NexusForge is a production-ready, cloud-native development platform that provides:
- Multi-Language Support: Python 3.9, Node.js 16, and Go 1.18 microservices
- Automated CI/CD: GitHub Actions with Workload Identity Federation
- Cloud Infrastructure: GCP Cloud Run, Cloud SQL, and managed services
- Monitoring & Observability: Prometheus, Grafana, and structured logging
- Security First: IAP, Cloud Armor, Secret Manager, and RBAC
- Developer Experience: Hot reload, Docker Compose, VS Code integration
| Language | Framework | ORM | Cache | Size |
|---|---|---|---|---|
| Python 3.9 | FastAPI | SQLAlchemy | Redis | ~150MB |
| Node.js 16 | Express + TypeScript | Prisma | Redis | ~120MB |
| Go 1.18 | Gin | GORM | Redis | ~15MB |
- β Workload Identity Federation - No service account keys
- β Cloud Armor - DDoS protection and WAF
- β Identity-Aware Proxy - Zero-trust access
- β Secret Manager - Secure credential storage
- β VPC - Network isolation
- β RBAC - Role-based access control
- β Cloud Run - Serverless container deployment
- β Cloud SQL - Managed PostgreSQL 14
- β Memorystore - Managed Redis 6
- β Artifact Registry - Container image storage
- β Cloud Logging - Centralized logs
- β Cloud Monitoring - Metrics and alerts
- β Prometheus - Metrics collection
- β Grafana - Visualization dashboards
- β Health Checks - Kubernetes-ready endpoints
- β Structured Logging - JSON logs with context
- β Alert Policies - Automated notifications
- β GitHub Actions - Automated workflows
- β Multi-Environment - Dev, Staging, Production
- β Security Scanning - Trivy, Snyk integration
- β Automated Testing - Unit, integration, E2E
- β Canary Deployment - Progressive rollouts
- β Automated Backups - Daily database snapshots
- GCP Account with billing enabled
- GitHub Repository with Actions enabled
- Local Tools:
- Docker & Docker Compose
- gcloud CLI
- Git
- VS Code (recommended)
git clone https://github.com/yourusername/nexusforge-platform.git
cd nexusforge-platform# Run interactive setup wizard
./infrastructure/scripts/00-setup-manager.sh
# Or manual setup
./infrastructure/scripts/01-gcp-initial-setup.sh
./infrastructure/scripts/02-workload-identity-setup.sh# Start all services with Docker Compose
docker-compose -f config/docker/docker-compose-all-in-one.yml up -d
# Check service health
curl http://localhost:8000/health # Python
curl http://localhost:3000/health # Node.js
curl http://localhost:8080/health # Go# Commit and push to trigger CI/CD
git add .
git commit -m "Initial deployment"
git push origin main
# Or deploy manually
gcloud run deploy nexusforge-python \
--image gcr.io/PROJECT_ID/nexusforge-python:latest \
--platform managed \
--region us-central1- π Setup Guide - Detailed installation instructions
- π» Development Guide - Local development workflow
- π’ Deployment Guide - Production deployment
- π Security Guide - Security best practices
- π§ Troubleshooting - Common issues and solutions
- π³ Docker Guide - Container deployment
- π Monitoring Guide - Observability setup
- ποΈ Architecture - System design and patterns
- π‘ API Documentation - API reference
- π Disaster Recovery - Backup and recovery
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Internet / Users β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ
β
βββββββββΌβββββββββ
β Cloud Armor β β DDoS Protection
β (WAF/CDN) β
βββββββββ¬βββββββββ
β
βββββββββΌβββββββββ
β IAP β β Authentication
βββββββββ¬βββββββββ
β
βββββββββΌβββββββββ
β Load Balancer β
βββββββββ¬βββββββββ
β
βββββββββββββββββββΌββββββββββββββββββ
β β β
ββββββΌββββββ βββββββΌβββββββ βββββββΌβββββββ
β Python β β Node.js β β Go β
β FastAPI β β Express β β Gin β
β Cloud Runβ β Cloud Run β β Cloud Run β
ββββββ¬ββββββ βββββββ¬βββββββ βββββββ¬βββββββ
β β β
ββββββββββββββββββΌββββββββββββββββββ
β
ββββββββββββββββββΌββββββββββββββββββ
β β β
ββββββΌβββββββ βββββΌβββββββββ ββββββΌβββββββ
β Cloud SQL β β Memorystoreβ β Secret β
βPostgreSQL β β Redis β β Manager β
βββββββββββββ ββββββββββββββ βββββββββββββ
Backend Services:
- Python 3.9 + FastAPI + SQLAlchemy + Alembic
- Node.js 16 + Express + TypeScript + Prisma
- Go 1.18 + Gin + GORM
Infrastructure:
- GCP Cloud Run (serverless containers)
- Cloud SQL PostgreSQL 14 (managed database)
- Memorystore Redis 6 (managed cache)
- Artifact Registry (container images)
CI/CD:
- GitHub Actions (automation)
- Workload Identity Federation (secure auth)
- Multi-environment deployments
Monitoring:
- Prometheus (metrics)
- Grafana (dashboards)
- Cloud Logging (logs)
- Cloud Monitoring (alerts)
nexusforge-platform/
βββ .github/
β βββ actions/ # Reusable composite actions
β βββ workflows/ # CI/CD pipelines
β βββ config/ # Environment configurations
βββ config/
β βββ docker/ # Dockerfiles and compose
β βββ nginx/ # Reverse proxy config
β βββ monitoring/ # Prometheus, Grafana
β βββ security/ # Security policies
βββ infrastructure/
β βββ scripts/ # Setup and automation scripts
β βββ terraform/ # IaC (optional)
βββ workspace/
β βββ python/ # FastAPI service (38 files)
β βββ nodejs/ # Express service (33 files)
β βββ go/ # Gin service (26 files)
βββ docs/ # Documentation
βββ scripts/ # Utility scripts
βββ tests/ # End-to-end tests
# Install dependencies
cd workspace/python && pip install -r requirements.txt
cd workspace/nodejs && npm install
cd workspace/go && go mod download
# Start development servers
cd workspace/python && make run
cd workspace/nodejs && npm run dev
cd workspace/go && make run# Python
cd workspace/python && pytest
# Node.js
cd workspace/nodejs && npm test
# Go
cd workspace/go && make test# Start all services
docker-compose -f config/docker/docker-compose-all-in-one.yml up -d
# View logs
docker-compose logs -f python-api
# Stop services
docker-compose downAccess monitoring dashboards:
- Prometheus: http://localhost:9090
- Grafana: http://localhost:3001 (admin/admin)
- Adminer: http://localhost:8081 (database UI)
- Redis Commander: http://localhost:8082
- Authentication: JWT tokens with refresh
- Authorization: Role-based access control (RBAC)
- Network Security: VPC, Cloud Armor, IAP
- Data Security: Secret Manager, encrypted connections
- Container Security: Non-root users, minimal images
- API Security: Rate limiting, input validation
# Scan Docker images
docker scan nexusforge-python:latest
# Security audit (Python)
cd workspace/python && pip-audit
# Security audit (Node.js)
cd workspace/nodejs && npm audit
# Security audit (Go)
cd workspace/go && gosec ./...We welcome contributions! Please see:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes with tests
- Run linters and tests
- Commit with conventional commits (
git commit -m 'feat: add amazing feature') - Push to your fork (
git push origin feature/amazing-feature) - Open a Pull Request
- Multi-language microservices (Python, Node.js, Go)
- Automated CI/CD with GitHub Actions
- GCP Cloud Run deployment
- Monitoring and observability
- Comprehensive documentation
- GraphQL API gateway
- gRPC inter-service communication
- Service mesh (Istio)
- Multi-region deployment
- Advanced caching strategies
- Machine learning pipeline
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with FastAPI, Express, and Gin
- Deployed on Google Cloud Platform
- Monitored with Prometheus and Grafana
- Inspired by cloud-native best practices
- Documentation: docs/
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Made with β€οΈ by the NexusForge Team