Skip to content

Image Upload and Resizing with HTTP using Rust, Rocket, and Serde

License

Notifications You must be signed in to change notification settings

VeirryAu/image-upload-with-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. What is this ?

I create this repository to help you guys to make a better image uploader beside using google storage or s3. If you doing a small to medium project, maybe you need this service in your server to handle image uploader.

2. I can upload Image with PHP, Why do i need this service?

Yes you can, but to build a better service and clean code your REST API can be using json only and put multipart/form-data in other service.

3. How to Install

  1. Install Rust or run
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Run the app using run.sh or run this command in your command line/terminal
ROCKET_PORT=4000 cargo watch -x run
  1. Build using this command (Change your target based on your server platform) or using build.sh
cross build --release

4. License

Licensed under the MIT License, Copyright © 2022 Veirry Augusman. See LICENSE for more information.

About

Image Upload and Resizing with HTTP using Rust, Rocket, and Serde

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published