Coder Social home page Coder Social logo

0tertra / copilot-node-calculator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alex-nick-basf/copilot-node-calculator

0.0 0.0 0.0 1.75 MB

This is a self-guided tutorial to help folks learn how to use GitHub Copilot using a Node Calculator

License: MIT License

JavaScript 76.53% CSS 13.81% HTML 9.67%

copilot-node-calculator's Introduction

GitHub Copilot Workshop

Enhance a Node Calculator app using GitHub Copilot

Node Calculator image

In this fun workshop, you will learn how to use GitHub Copilot to enhance a node-based Calculator, with little to no coding experience required.

The project contains a simple node.js application that exposes REST APIs to perform arithmetic on integers, and provides a test suite with mocha and chai.

Estimated time to complete: 10 to 60 minutes

Participants will be guided to install the GitHub Copilot VS Code extension, and then use it to enhance a simple Node Calculator app. You will also use GitHub Copilot to write some missing unit tests for the Calculator app.

Instructions

Inside the .instructions folder you will find a number of markdown files that contain the instructions for this workshop.

Filename Description
1. setup.md Instructions for installing the GitHub Copilot VS Code extension and joining the GitHub Copilot trial.
2. core exercises.md Instructions for the core exercise of this workshop.
3. challenge exercises.md Challenge exercises for participants to complete.
4. additional resources.md Additional resources for participants to explore after the workshop.

Running a workshop?

If you're planning to run a GitHub Copilot workshop, please review the workshop guide for tips and tricks to help you run a successful workshop.

Project Structure

In this project you will find:

  • the node-based Calculator application
  • a test folder containing MOCHA unit tests for the Calculator app
  • a devcontainer that installs GitHub Copilot when the Codespace is created (If you want to use Codespaces)
  • an .instructions folder all the instructions for this workshop.
  • an assets folder containing images used in this workshop documentation.

FAQ

  • How do I get a GitHub Copilot license?
    • You can request a trial license from your GitHub Sales representative or via Copilot for Individuals or Business licenses.
  • How do I get a GitHub Codespaces license?
    • Codespaces is included with GitHub Enterprise Cloud, GitHub Enterprise Server, and GitHub Free. You can check under your billing settings page.
  • I am having trouble activating GitHub Copilot after I load the plugin, what should I do?
    • This could be because you launched your Codespace before you activated GitHub Copilot or accepted the invitation to the trial org. Please try to reload your Codespace and try again.

Acknowledgements

A special thanks to the following awesome Hubbers who have contributed in many different ways to our workshops. pierluigi, parroty, yuichielectric, dchomh, nolecram, rsymo, damovisa and anyone else I've inadvertently missed.

Enjoy your workshop! anthonyborton

v1.0 Released June, 2023

copilot-node-calculator's People

Contributors

anthonyborton avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.