Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 475 Bytes

README.md

File metadata and controls

35 lines (18 loc) · 475 Bytes

File API 📂

A REST API for uploading & downloading image files.

Made using RUST 🦀

POST: /upload - Upload file to this endpoint

GET /files/{file_name} - Get uploaded file

The default port is configured to 8080

Setup

Api is made using RUST, so you need RUST & CARGO installed to get this thing working..

$ cargo run

Or you can run using docker

$ docker build -t file-api .
$ docker run -p 8080:8080 file-api