项目作者: arganarazalvaro

项目描述 :
Find your file metadata
高级语言: HTML
项目地址: git://github.com/arganarazalvaro/file-metadata-API.git
创建时间: 2020-11-29T00:32:22Z
项目社区:https://github.com/arganarazalvaro/file-metadata-API

开源协议:

下载


FILE-METADATA-API

N|Solid

Welcome to this incredible API to obtain the data of your files! It´s super simple to use, and it has a front end design also, so you can use it directly from there.

  • Upload your file
  • Get your file name, size, and type

New Features!

  • The design was updated to be more elegant

How to use it?

It´s really simple, just select a file from your computer/device and hit the upload button, it will automaticaly response with a JSON object with the metadata of your file.

I hope you enjoy it!

Tech

I have developed this full stack app using JavaScript, NodeJS, Express and Multer for the Back-End. If you want to clone the repository, make sure to install all these dependencies. It also has a front-end desing implemented, made with HTML and CSS, so you can see it on action.

Here you can find more info about them.

  • Express - Fast node.js network app framework
  • Multer - A node.js middleware for handling multipart/form-data, which is primarily used for uploading files.
  • Node.js - JavaScript runtime environment

Get Started

This API requires Node.js to run.

Clone the repository and then start the server with:

  1. $ npm start

Please take a look at the dependencies that this API uses (Express and Multer).

User Stories

  1. You can submit a form that includes a file upload.
  2. The form file input field has the name attribute set to upfile.
  3. When you submit a file, you receive the file name, type, and size in bytes within the JSON response.

Build Status

You can see the freecodecamp test Here

License

MIT