
Interactive GitHub Copilot workshop using an NBA app to explore AI-assisted development, advanced workflows, and best practices in coding, testing, and optimization.
概览
Welcome to the comprehensive GitHub Copilot Workshop! This hands-on workshop will teach you to leverage AI-powered development through a real NBA sports application built with and . ❗: No mastery of JavaScript, Python, or Next.js is needed - AI will generate most of the code for you in this exercise. Even if you are not very familiar, it's a great opportunity to leverage AI to quickly learn popular frameworks. By the end of this workshop, you'll master: - : Chat interactions, completions, and role prompting - : Agent mode, Vision capabilities, and code optimization - : MCP servers and automated workflows - : Error handling, testing, and documentation with AI assistance 1. : Active GitHub Copilot license (paid tier, not the free version) 2. : Install and update GitHub Copilot & GitHub Copilot Chat extensions in your IDE 3. : Login to GitHub Copilot and verify both code completions and chat work 4. : Install Node.js & npm. Verify with: 5. : Install Python 3.8+ & pip.
README
以下为原文 README 节选,完整内容请查看原文。
GitHub Copilot Workshop - NBA Sports Application
Welcome to the comprehensive GitHub Copilot Workshop! This hands-on workshop will teach you to leverage AI-powered development through a real NBA sports application built with Next.js 14 (Frontend) and Python Flask (Backend).
❗Note: No mastery of JavaScript, Python, or Next.js is needed - AI will generate most of the code for you in this exercise. Even if you are not very familiar, it’s a great opportunity to leverage AI to quickly learn popular frameworks.
🎯 Workshop Objectives
By the end of this workshop, you’ll master:
- Core Copilot Features: Chat interactions, completions, and role prompting
- Advanced Workflows: Agent mode, Vision capabilities, and code optimization
- Specialized Integration: MCP servers and automated workflows
- Best Practices: Error handling, testing, and documentation with AI assistance
📋 Prerequisites
Required Software
- GitHub Copilot License: Active GitHub Copilot license (paid tier, not the free version)
- IDE Setup: Install and update GitHub Copilot & GitHub Copilot Chat extensions in your IDE
- Authentication: Login to GitHub Copilot and verify both code completions and chat work
- Frontend Runtime: Install Node.js & npm. Verify with:
node -v npm -v - Backend Runtime: Install Python 3.8+ & pip. Verify with:
python --version pip --version
Optional for Advanced Features
- Docker (for MCP server tasks)
- GitHub Personal Access Token (for MCP integration)
🚀 Quick Start
This section provides a quick overview. For detailed setup, see Task 0.
-
Clone the repository
git clone cd GitHubCopilotWorkshop -
Set up the Backend (Python Flask)
cd backend python -m venv venv # On Windows: venv\Scripts\activate # On macOS/Linux: source venv/bin/activate pip install -r requirements.txt python app.pyBackend will run on http://localhost:8080
-
Set up the Frontend (Next.js) - In a new terminal
# From the root directory cd frontend npm install # Create .env.local file with: echo "NEXT_PUBLIC_API_URL=http://localhost:8080" > .env.local npm run devFrontend will run on http://localhost:3000
-
Open the application Navigate to http://localhost:3000 in your browser
🏀 Application Overview
GitHub Copilot NBA Companion - Your dedicated NBA companion! This app brings you:
- 📊 Live NBA Results: Real-time game scores and statistics
- 🎯 Player Information: Comprehensive player stats and profiles
- 🏟️ Stadium Information: NBA venues and facility details
- 👨🏫 Coach Management: NBA coaches and their achievements
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add yoavlax/githubcopilotworkshop