Skip to content

GitHub Copilot Hackathon using Nodejs, JAVA, Python & .NET

License

Notifications You must be signed in to change notification settings

NavaraBV/github-copilot-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 through a set of exercises (labs). These exercises 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. 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 writes 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. You are ready to go and don't need to install anything.

IDE Extensions

Please update your IDE to the latest version. This is important to have the best experience with GitHub Copilot.

Install the Copilot Extension for your IDE:

Please note, the extensions are already installed in Visual Studio 2022 if you have a recent version. You need to log in to use them:

Install Copilot CLI

Follow the instructions for your operating system:

Work locally

VisualStudio Code

https://code.visualstudio.com/

For Node.js

Run:

 npm install --global mocha
 npm install axios

For .NET

Install .NET

For Java

For Python

For C++

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 67.2%
  • Jupyter Notebook 16.7%
  • Java 6.8%
  • C++ 2.6%
  • JavaScript 2.2%
  • TypeScript 2.0%
  • Other 2.5%