Set up your local environment for projects. We'll walk you through everything you need to know, including how to install and configure your environment to be able to complete all of the tasks.
Creating the image upload page
In this module we will add a form to the image upload page. We will also setup our server, and add a wildcard route to serve the image upload page.
Storing the image on disk
In this module we will store the uploaded image to disk.
Serving the photo-viewer and creating the workers
In this module we will add a route to serve the photo-viewer page. We will also create our two workers that will process the images.
Creating the parent thread
In this module we will create the parent thread as well as instantiate the worker threads. We will write event listeners to handle communication between threads. Finally, we will wire up the parent thread to the upload route, and add the processed images to the photo-viewer page.
Jan 23, 2020
In this project you will follow along with our instructions and first build an http server that you can upload and store photos on. After that we will utilize worker threads to create a resized versions and a monochrome version of the photo.