# Questions after completed File-Metadata Microservice project

**URL:** <https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905>\
**Category:** General\
**Created:** [July 4, 2017, 4:22am UTC](https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905 "2017-07-04T04:22:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hesingon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hesingon/32/60776_2.png) [@hesingon](https://forum.freecodecamp.org/u/hesingon)\
**Post date:** [July 4, 2017, 4:22am UTC](https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905/1 "2017-07-04T04:22:19Z")

</div>

I’ve managed to complete [this project](https://www.freecodecamp.com/challenges/file-metadata-microservice), and this is the github [repo](https://github.com/hesingon/FCC-file-metadata.git) of codes I wrote.  
however, I have some questions regards this project:

1. I thought this project will require me to implement mlab to provide a database, but looks like I don’t have to because the Multer middleware uploads whatever user files to the project folder. I know mlab’s sandbox plan provide database of size 16MB, then how much size do I have in heroku to accomodate all user uploaded files?

2. It is recommendable not to implement mlab database for this project?

Would like to know more about what this project entails. Also would appreciated any reference to other articles that discuss this project.🙂

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [July 4, 2017, 6:42am UTC](https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905/2 "2017-07-04T06:42:15Z")

</div>

I didn’t use a database (or mlab, natch) for this build. I see nothing in the user stories that would require it and the example doesn’t seem to either. The only builds I used a DB on were the image search and the url shortener because they were the only ones needing data saved.

---

<div class="post-metadata">

**Author:** ![hesingon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hesingon/32/60776_2.png) [@hesingon](https://forum.freecodecamp.org/u/hesingon)\
**Post date:** [July 4, 2017, 7:01am UTC](https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905/3 "2017-07-04T07:01:37Z")

</div>

I see, thank you. Good to know about how you approached the project:)

---

<div class="post-metadata">

**Author:** ![JohnnyBizzel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/johnnybizzel/32/37661_2.png) [@JohnnyBizzel](https://forum.freecodecamp.org/u/JohnnyBizzel)\
**Post date:** [July 4, 2017, 8:30am UTC](https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905/4 "2017-07-04T08:30:08Z")

</div>

> looks like I don’t have to because the Multer middleware uploads whatever user files to the project folder

Looks like you answered your own question!

> how much size do I have in heroku to accomodate all user uploaded files?

Delete the file as soon as you have uploaded it or name it the same name and it will be overwritten.  
You are just providing meta data about a file, not creating a file store.

Understanding requirements is a **major skill** of a web developer.

---

<div class="post-metadata">

**Author:** ![hesingon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hesingon/32/60776_2.png) [@hesingon](https://forum.freecodecamp.org/u/hesingon)\
**Post date:** [July 4, 2017, 4:04pm UTC](https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905/5 "2017-07-04T16:04:16Z")

</div>

> Delete the file as soon as you have uploaded it or name it the same name and it will be overwritten.  
> You are just providing meta data about a file, not creating a file store.

Oh you are right ! Didn’t think of that!

> Understanding requirements is a major skill of a web developer.

Thank you for the enlightenment:smiley:

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:48pm UTC](https://forum.freecodecamp.org/t/questions-after-completed-file-metadata-microservice-project/133905/6 "2021-01-17T20:48:51Z")

</div>

Closed on January 17, 2021, 8:48pm UTC


