Skip to content

hemakshis/fcc-file-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FCC API Basejump: File Metadata Microservice

User Stories

  1. I can submit a FormData object that includes a file upload.
  2. When I submit something, I will receive the file size in bytes within the JSON response.

Hint: You may want to use this package: Multer

Example Usage

Upload your file from the UI at the root.

File Metadata Microservice

Example Output

A JSON output containing all the file details will be displayed in the below URL.

https://myfile-hemakshis.herokuapp.com/api/upload

{"name":"wxyz.jpg","size":66225,"date":"2017-12-21 16:13:27","file":"f0b87e941714c7beea453e19e3782d5e"}

Note:- The files get deleted right away. All the information stored in database is displayed.

About

A File Metadata Microservice API. Upload any file & get it's details

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published