Skip to content

eficode/copilot-microsoft-hackathon

 
 

Repository files navigation

GitHub Copilot Hackathon

Demo project for running labs to evaluate Copilot viability

Goal

The goal of a GitHub Copilot Hackathon is to learn how to use it, using a set of exercises (labs) that consist of building a web server using Nodejs with different functionalities, a .NET Web API or a Java Rest API (either Spring Boot or Quarkus).

We have also set two exercises for data engineers and data scientists based on python.

For those who are already familiar with GitHub Copilot, we have also defined a series of challenges to test your skills. In this case, you will find an introduction and short guidance to help you solve the challenge, but you will have to do most of the work on your own (with the help of Copilot, of course).

GitHub Copilot is an AI-powered code assistant that helps developers write better code faster. It uses machine learning models trained on billions of lines of code to suggest whole lines or entire functions based on the context of what you’re working on. By using Copilot, you can learn how to write better code and improve your productivity.

Remember:

  • As you type GitHub Copilot will make suggestions, you can accept them by pressing Tab.
  • If nothing shows up after Copilot write some lines, press enter and wait a couple of seconds.
  • Press Ctrl + Enter, to see more suggestions.
  • Use Copilot chat to support your learning and development.
  • Press Ctrl + i to start Copilot chat inline within your code.

Pre-requisites

GitHub Copilot access

If you still do not have an active Copilot license, a 30 day trial can be requested here: https://github.com/github-copilot/signup.

Work with GitHub Codespaces

Environment is already configured to work with Github Codespaces, you can find the configuration files in the .devcontainer folder.

To start programming just start a new codespace and you are ready to go, don't need to install anything.

IDE Extensions

Install the Copilot Extension for you IDE:

Work locally

VisualStudio Code

https://code.visualstudio.com/

Install Docker

https://docs.docker.com/engine/install/

For Nodejs

Run:

 npm install --global mocha
 npm install axios

For .NET

Install .Net

For Java

For Python

Labs instructions

Challenges instructions

Quick Links

  1. About GitHub Copilot

  2. Getting started with GitHub Copilot

  3. About code referencing in GitHub Copilot

  4. Using GitHub Copilot Chat in your IDE

  5. Enabling GitHub Copilot in the CLI

  6. GitHub Copilot Badges and Certifications

About

GitHub Copilot Hackathon using Nodejs, JAVA, Python & .NET. Original source: https://github.com/microsoft/CopilotHackathon/tree/main.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 71.2%
  • Jupyter Notebook 17.8%
  • Java 7.1%
  • JavaScript 2.4%
  • C# 1.2%
  • Dockerfile 0.3%