Create an upload route in an Express API

Share this video with your friends

Send Tweet

In this lesson, we'll add some middleware to support the upload of files to our Express server.

We'll test for validity, handle errors and move the file to our storage directory.

Finally, we'll test our route using our API client.

Andrew
Andrew
~ 2 years ago

very good!