Skip to content

Devoamos/octocat-supply-copilot-exercise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 OctoCAT Supply Chain Management System

OctoCAT Supply Chain

Welcome to the OctoCAT Supply Chain Management System - showcasing the incredible capabilities of GitHub Copilot, and the power of AI-assisted development!

✨ Exercise Overview

This project is designed to demonstrate the potential of GitHub Copilot in a real-world application.

The OctoCAT Supply Chain Management System is a fully functional web application that allows users to manage orders, deliveries, and suppliers. It includes a frontend built with React and a backend API built with Express.js. The application is designed to be easy to use and understand, making it perfect for demonstrating the capabilities of GitHub Copilot.

  • 🤖 Copilot Agent Mode & Vision - Watch Copilot understand UI designs and implement complex features across multiple files
  • 🧪 Test Generation - Exhibit Copilot's ability to analyze coverage and generate meaningful tests

🏗️ Architecture

The application is built using modern TypeScript with a clean separation of concerns:

erDiagram
    Headquarters ||--o{ Branch: has
    Branch ||--o{ Order: placed_at
    Order ||--o{ OrderDetail: contains
    OrderDetail ||--o{ OrderDetailDelivery: fulfilled_by
    OrderDetail }|--|| Product: references
    Delivery ||--o{ OrderDetailDelivery: includes
    Supplier ||--o{ Delivery: provides
Loading

Tech Stack

  • Frontend: React 18+, TypeScript, Tailwind CSS, Vite
  • Backend: Express.js, TypeScript, OpenAPI/Swagger

🎯 Key Scenarios

  1. Vibe Coding

    • Implement a shopping cart from a design mockup
    • Watch Copilot analyze, plan, and implement across multiple files
    • Show real-time UI updates and state management
  2. Automated Testing

    • Create and execute unit tests with intelligent test generation

🚀 Getting Started

  1. Fork this repository into your own GitHub account and clone it to your local machine.

  2. Build the projects:

    # Build API and Frontend
    npm install && npm run build
  3. Start the application:

    npm run dev

Or use the VS Code tasks:

  • Cmd/Ctrl + Shift + P -> Run Task -> Build All
  • Use the Debug panel to run Start API & Frontend

Next Steps

  • Complete the exercise guide for detailed instructions on how to use Copilot features

📚 Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.5%
  • JavaScript 1.3%
  • CSS 1.1%
  • Other 1.1%