1
00:00:00,180 --> 00:00:07,140
All right, welcome to our next project, where we'll learn how to upload files in our case files onto

2
00:00:07,140 --> 00:00:10,600
the server since we'll use this functionality in later projects.

3
00:00:10,620 --> 00:00:16,440
I thought it's important that we cover upload functionality on its own first and also this where you'll

4
00:00:16,440 --> 00:00:19,210
have a reference just in case you need it later.

5
00:00:19,830 --> 00:00:24,540
There are tons of different ways how we can accomplish the image upload, but in our case we'll use

6
00:00:24,540 --> 00:00:31,410
Xpress File Upload Library as well as the Cloud Nory service option where we store images on the cloud.

7
00:00:31,890 --> 00:00:38,410
I also made a tiny front end up just to demonstrate how everything is going to work in real project.

8
00:00:38,760 --> 00:00:44,270
And lastly, we'll learn how to upload images using postmen and the areas following where.

9
00:00:44,280 --> 00:00:50,760
Imagine that you are an admin for the e-commerce store and you have the form to the product and in there

10
00:00:50,760 --> 00:00:54,180
you have the name for the product, the price, as well as the image.

11
00:00:54,540 --> 00:01:00,270
Now the gotcha is following before you can add that product to your database.

12
00:01:00,540 --> 00:01:07,830
You also want to add the image onto the server because the product will need a path for that image.

13
00:01:08,190 --> 00:01:15,450
So here, yes, there is a name and I'll change it to a second computer line as far as the price is

14
00:01:15,450 --> 00:01:16,440
low Earth orbit.

15
00:01:16,740 --> 00:01:21,960
And when it comes to image, we can pick any image from our computer.

16
00:01:22,410 --> 00:01:25,350
And in this case, I'm going to go with computer number two.

17
00:01:25,530 --> 00:01:34,500
So first we upload this image onto our server and then once we successfully get the path back path through

18
00:01:34,500 --> 00:01:36,700
the image, then we can add the product.

19
00:01:37,050 --> 00:01:43,890
So once we click on adding the product numbers, now we have our second product, the second computer

20
00:01:44,070 --> 00:01:47,610
with a price and the image we just picked.

