Skip to content

twobiers/webtech-workshop-js-async

Repository files navigation

Workshop Concurrency in JavaScript

Material and Resources for the "Concurrency in JavaScript" Workshop.

Directory Structure

workshop-js-async/     <-- Project Root
├── exercises/         <-- Exercises for the Workshop
│   ├── 1-callbacks/   <-- Part 1 (Callbacks)
│   ├── 2-promise/     <-- Part 2 (Promises)
│   └── 3-async/       <-- Part 3 (Async / Await)
├── misc/              <-- Other documents and Material
│   ├── snippets/      <-- Code Snippets
├── slides/            <-- Slides

Setup

In order to participate in the exercises the follwing steps must be done.

There are two ways to participate, either using a Visual Studio Code Dev Container or using a standalone Node.JS Installation.

No matter which way you prefer, you will need to clone the Repository using:

git clone [email protected]:twobiers/webtech-workshop-js-async.git

Dev Container

Prerequisites

Open the VSCode and start the Devcontainer by launching the Command Palette (Ctrl+Shift+P), selecting Remote Containers: Open Folder in Container... and navigating to the cloned repository. Open the VSCode terminal and run npm install in the project directory.

Standalone Installation

Prerequisites

  • Node.JS (Should work with 14.x and 16.x) - 16.13.1 tested

Recommendations

Run npm install in the project directory and you're ready to go.

Executing an exercise file

When you have a solution for an exercise written in the file and want to test it, you can execute the file. If you are using VSCode with the Code Runner Extension this can be simply achieved by presing Ctrl+Alt+N.

Otherwise you can use the node executable with the exercise file path as an argument, for example:

node './exercises/1-callbacks/1a-guess_the_order.js'

License

Two licenses apply:

  • AGPL-3.0 or later applies to
    • Code which is part of the content if no other license is specified within the same asset
  • CC-BY-NC-4.0 applies to any non-code content if not specified otherwise.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published