Skip to content

DocGailZhou/ShopAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Assistant - GitHub Copilot Agent Experiment

Table of Contents

Project Approach

This is an experiment project to test the capabilities of GitHub Copilot Agent. This is to showcase how software development can be done quicker and with less effort with the help of GitHub Copilot. Refer to Software Engineering in the Era of AI for a glimpse on what will happen in the next 5-10 years, starting today.

I'd like to see how much I can get out of the GitHub Copilot Agent mode. I'll document the prompt engineering process, from an initial big idea, to capabilities, architecture design, to scaffolding code, and then to completed code modules and eventually, a working application. This process will take some trial and error and prompt refinement. I hope to be surprised and satisfied in the end. If this process works, we could use it for our future projects.

Most of the initial prompts and results are posted to the docs/prompts folder. The code generation will be a detailed process. I will try to provide insights after all code has been generated and tested.

The generated code is in the src folder at the project root. The frontend subfolder contains the web interface built with React. The backend subfolder contains the AI application constructed with Python FastAPI, Semantic Kernel, PostgreSQL DB, and Azure AI services.

Tech Stack

Layer Technology
Frontend React
Backend FastAPI (Python)
Database PostgreSQL
Cloud Azure (App Service, PostgreSQL, AI Services)
DevOps Azure Developer CLI (azd)

Solution Architecture

The initial solution architecture is illustrated below. This is the key design to create various prompts for GitHub Copilot to generate code.

Solution Architecture

Current Status (Completed Work & To-Do-List)

This is a side project beyond my full-time job. I will get back to do more on this project when I get some spare time.

1. Completed Tasks with Results Documented:

2. Pending Tasks (To-Do-List) - Call for Contributors!

Below are the list of things to be completed:

  • Database Setup: Create Azure PostgreSQL DB, create tables.
  • Backend Code Generation: Generate code for backend app.
  • Test Backend Functions: Test backend functions via API calls.
  • Integrate Frontend and Backend: Modify frontend app to call backend APIs. End-to-end testing. Check database results.
  • Test Integrated Solution: New user registration. Signing in. Ask for offers. Ask agent to place an order. Make inquiry about orders placed. Ask return policy for ordered items.

Setup Guide (Work In Progress)

  1. Clone the repository:

    git clone <your-repo-url>
    cd ShopAssistant
  2. Set up the backend:

  3. Set up the frontend:

  4. Azure Developer CLI (azd):

How to Contribute

  • Fork the repository and create your branch.
  • Add your ideas, prompts to docs/contribute folder.
  • Submit a pull request when your feature or fix is ready.

You are welcome to work with me on this project! You can find me at Gail Zhou, PhD | LinkedIn.

References

About

This is an experiment project to test the capabilities of GitHub Copilot Agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors