Browse the guide

Getting Started

Getting Started

Set up your environment to run the Octo E-Shop Copilot demos.

Prerequisites

Launch the Environment

Codespaces (Recommended)

The fastest way to get started — everything is pre-configured.

  1. Click the button below to open in Codespaces:

    Open in GitHub Codespaces

  2. Wait for the devcontainer to build (includes Node 22, Docker, GitHub CLI, kubectl, Helm, Terraform, Azure CLI).

  3. Start databases and services:

    Terminal window
    docker-compose up -d
  4. Verify everything is running:

    Terminal window
    npm test

Local Development

  1. Clone the repository:

    Terminal window
    git clone https://github.com/edinc/octo-eshop-demo.git
    cd octo-eshop-demo
  2. Install dependencies (requires Node.js ≥ 20):

    Terminal window
    npm install
  3. Start services with Docker Compose:

    Terminal window
    docker-compose up -d
  4. Run tests to verify:

    Terminal window
    npm test

The devcontainer installs these automatically. For local setup, install manually:

Extension Purpose
GitHub Copilot AI pair programming
GitHub Copilot Chat Chat-based Copilot interaction
ESLint Linting
Prettier Code formatting
Prisma Database schema editing
Docker Container management
Kubernetes K8s resource viewing
HashiCorp Terraform Infrastructure as Code

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
├── helm/ # Helm charts
└── docs/ # Architecture docs

Next Steps

Once your environment is ready, jump into any demo:

  • New to Copilot? Start with the End-to-End Demo for a guided tour
  • Running a presentation? Check Presenter Tips for pacing and narration advice
  • Exploring specific features? Pick any demo from the sidebar