Demo project for running labs to evaluate Copilot viability
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.
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.
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.
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:
Follow the instructions for your operating system:
- Install GitHub CLI
- Install GitHub Copilot CLI Extension
- Configuring GitHub Copilot in the CLI (Please note: For Windows, this only works for PowerShell Core.)
VisualStudio Code
https://code.visualstudio.com/
For Node.js
- Install Node and npm
- Install Mocha:
Run:
npm install --global mocha
npm install axios
For .NET
For Java
For Python
For C++
- Node Server
- Node Server Typescript
- .NET Web API
- Java Spring Boot
- Java Quarkus
- Python
- Python Data Engineer
- Python Data Scientist
- C++