filemetadata/README.md

14 lines
684 B
Markdown
Raw Normal View History

2017-02-18 20:02:08 +01:00
# API Project: File Metadata Microservice for freeCodeCamp
2020-07-08 17:05:02 +02:00
[![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-project-filemetadata)](https://repl.it/github/freeCodeCamp/boilerplate-project-filemetadata)
2017-02-18 20:02:08 +01:00
### User stories:
1. I can submit a form that includes a file upload.
2020-09-10 16:29:02 +02:00
2. The form file input field has the `name` attribute set to `upfile`.
3. When I submit something, I will receive the file `name`, `type`, and `size` in bytes within the JSON response.
2017-02-18 20:02:08 +01:00
### Usage :
* Go to the main page, and upload a file using the provided form.
### Hint:
2019-01-14 09:40:45 +01:00
* To handle the file uploading you should use the [multer](https://www.npmjs.com/package/multer) npm package.