Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building an Upload Backend Service With No Libraries, Just Vanilla JS With Progress

Hussein Nasser via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the process of building a simple progressor upload service using vanilla JavaScript in this 38-minute tutorial video. Learn how to create a backend service with minimal libraries, focusing on core JavaScript functionality. Discover techniques for reading files with FileReader, slicing files into chunks, sending chunks to the backend using fetch, and implementing progress tracking on the frontend. Gain insights into potential improvements and scalability considerations for your upload service. Access the source code and additional resources to enhance your understanding of HTTP libraries, the Fetch API, and FileReader.

Syllabus

Intro
Preparing Frontend/Backend
Reading file with FileRead in Frontend
Slicing the file into Chunks
Sending Chunks through fetch to Backend
Received Chunks on Backend
Progress on Frontend
Increase chunk size
Possible Improvement and Scalability

Taught by

Hussein Nasser

Reviews

Start your review of Building an Upload Backend Service With No Libraries, Just Vanilla JS With Progress

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.