Skip to content

ps-copilot-sandbox/copilot-intermediate-gallery-repo

Photo Gallery & Portfolio

A professional photo gallery and portfolio application built with Next.js 15, TypeScript, and Tailwind CSS. This project is designed for demoing GitHub Copilot features in a real-world, component-driven Next.js application. The included demos showcase how Copilot can assist with code generation, refactoring, UI building, and more.

Demos

  • All demo guides and examples are in the demos/ folder.
  • For more information about each demo, refer to the README file in the demos/ directory.
  • To get started, check out the first demo features-demo.md for a walkthrough of gallery features and Copilot capabilities.

Creating a New Demo

If you want to contribute and create a new demo, follow these steps:

  1. Open GitHub Copilot Chat.
  2. Type the prompt `/create-copilot-demo' with an explanation of your demo idea
  3. Copilot will generate a new demo file in the demos/ directory.
  4. Fill in remaining sections with detailed instructions, examples, and expected results.

After finishing the demo, don't forget this quick follow-up:

  1. Add in the overview, key skills, and demo link to the demo README

Getting Started

Technical Requirements

  • Node.js v18 or newer
  • npm (or yarn, pnpm, bun)

Quick Start with GitHub Codespaces

The fastest way to get started is using GitHub Codespaces:

  1. Click the "Code" button on the GitHub repository page
  2. Select the "Codespaces" tab
  3. Click "Create codespace on main" (or your current branch)
  4. Wait for the codespace to build and start

The codespace will automatically:

  • Install all dependencies (npm install)
  • Start the development server (npm run dev)
  • Configure GitHub Copilot and essential VS Code extensions
  • Forward port 3000 for the Next.js application

Once ready, you can access the application at the forwarded port URL provided in the terminal.

Local Installation

  1. Clone the repository:
    git clone https://github.com/vfm2-testing-co/gallery-repo.git
    cd gallery-repo
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
    Open http://localhost:3000 in your browser.

Project Structure

src/
├── app/                 # Next.js 15 App Router pages
├── components/          # Reusable React components
├── lib/                 # Utility functions and helpers
demos/                   # Demo guides and templates

About

This repo is to demonstrate Copilot features from the GitHub Copilot Intermediate training.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published