title: upload photo from file or postman by image address in my drive
body: <p>I have a schema like this:</p>
  <pre><code>const Person = new mongoose.Schema({
    username: {
      type: String,
      required: [true, &quot;Name is a required field&quot;],
      unique: [true, &quot;Another Person with the same name already exists&quot;],
      trim: true
    },
    friends: [
      {
        name: {
          type: String,
          required: [true, &quot;Every friend must have a name&quot;],
          unique: [true, &quot;Another friend with the same name already exists&quot;],
          trim: true
        },
       photo: String,
       favoriteFood: String
      }
    ],
    createdAt: {
      type: Date,
      default: Date.now()
    }
  });
  </code></pre>
  <p>I want to add an image for each friend, but I want to upload the photo from something like postman or a seeder file by adding image address in my hard drive in the request. because I have several friends, I have to make each photo specific for each friend. I want to do something like this in postman body or in a file as a seeder to fill database or add data to it.</p>
  <pre><code>{
  &quot;username&quot;: &quot;aUsername&quot;,
  &quot;friends&quot;: [
     {
       &quot;name&quot;: &quot;friend1&quot;,
       &quot;photo&quot;: &quot;./home/user/photos/photo1.jpg&quot;,
       &quot;favoriteFood&quot;: &quot;Pizza&quot;
     },
     {
       &quot;name&quot;: &quot;friend2&quot;,
       &quot;photo&quot;: &quot;./home/user/photos/photo2.jpg&quot;,
       &quot;favoriteFood&quot;: &quot;Sushi&quot;
     },   
     {
       &quot;name&quot;: &quot;friend3&quot;,
       &quot;photo&quot;: &quot;./home/user/photos/photo3.jpg&quot;,
       &quot;favoriteFood&quot;: &quot;Hamburger&quot;
     }
      ]
  }
  </code></pre>
  <p>how can I create this feature in the backend?</p>
  <p>thanks.</p>