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.
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.