Skip to content

About

🚲 Bicycle e-commerce platform built with microservices on Azure AKS β€” showcasing GitHub Copilot across the full SDLC

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

191 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Octo E-Shop 🚲

πŸ” CI Pipeline 🐳 Build and Push Images πŸš€ Deploy to Environment

A bicycle e-commerce platform built with microservices architecture, deployed on Azure Kubernetes Service.

Architecture

Technology Stack

Layer Technology
Frontend React, Vite, Tailwind CSS, Redux Toolkit
Backend Node.js, TypeScript, Express
Databases PostgreSQL (Prisma ORM), Redis
Infrastructure Azure AKS, Terraform
CI/CD GitHub Actions, Helm

Services

Service Description
frontend React SPA β€” product browsing, cart, checkout
user-service Authentication, profiles, JWT tokens
product-service Bicycle catalog, inventory management
cart-service Shopping cart (Redis-backed)
order-service Order orchestration across services
payment-service Payment processing (mock gateway)

Quick Start

GitHub Codespaces (recommended)

Open in GitHub Codespaces

The devcontainer provides a ready-to-code environment with all tools and extensions pre-installed. Once the container is ready:

# Start databases and all services
docker-compose up -d

# Run tests
npm test

Local development with Docker Compose

# Install dependencies
npm install

# Start all services (databases, backend, frontend, API gateway)
docker-compose up -d

# Run tests
npm test

# Build all services
npm run build

From scratch (new Azure environment)

# One-time bootstrap: creates Terraform state backend + GitHub Actions OIDC secrets
./scripts/bootstrap-backend.sh

# Then trigger infrastructure provisioning (includes cluster add-ons setup)
gh workflow run infrastructure.yml -f environment=dev -f action=apply

Project Structure

octo-eshop-demo/
β”œβ”€β”€ services/               # Microservices (npm workspaces)
β”‚   β”œβ”€β”€ frontend/           # React SPA
β”‚   β”œβ”€β”€ user-service/       # Authentication & profiles
β”‚   β”œβ”€β”€ product-service/    # Bicycle catalog
β”‚   β”œβ”€β”€ cart-service/       # Shopping cart (Redis)
β”‚   β”œβ”€β”€ order-service/      # Order lifecycle
β”‚   └── payment-service/    # Mock payment gateway
β”œβ”€β”€ shared/                 # Shared packages
β”‚   β”œβ”€β”€ types/              # @octo-eshop/types
β”‚   └── utils/              # @octo-eshop/utils
β”œβ”€β”€ infrastructure/         # Terraform (Azure)
β”œβ”€β”€ kubernetes/             # K8s manifests & cluster setup
β”œβ”€β”€ helm/                   # Helm charts (one per service)
β”œβ”€β”€ .devcontainer/          # GitHub Codespaces / devcontainer config
β”œβ”€β”€ docs/                   # Architecture & pipeline docs
└── scripts/                # Bootstrap & utility scripts

Documentation

Document Description
πŸ“– Demo Site Interactive Copilot demo guides and presenter resources
Azure Architecture Infrastructure design, Azure services, network topology
CI/CD Pipeline Workflows, deployment strategy, operational runbook
Codespaces ↔ Azure via OpenVPN P2S Optional dev-only tunnel from a Codespace into private dev PostgreSQL via Azure VPN Gateway
Agentic Workflows Copilot demo automation β€” architecture, the coding-agent approval gate, and gh-aw gotchas

License

MIT

About

🚲 Bicycle e-commerce platform built with microservices on Azure AKS β€” showcasing GitHub Copilot across the full SDLC

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages