1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

normalize ports to 8080

This commit is contained in:
Rob Ede
2022-03-06 00:41:32 +00:00
parent e8cd22d2f2
commit f27cc4b6b4
20 changed files with 122 additions and 50 deletions

View File

@ -1,25 +1,30 @@
# multipart+s3
Upload a file in multipart form to aws s3(https://github.com/rusoto/rusoto)
Receive multiple data in multipart form in JSON format and receive it as a struct.
# Multipart + AWS S3
Upload a file in multipart form to aws s3 (https://github.com/rusoto/rusoto).
Receive multiple data in multipart form in JSON format and receive it as a struct.
# Usage
# usage
```
cd forms/multipart-s3
```
1. copy .env.example .env
2. edit .env AWS_ACCESS_KEY_ID=you_key
3. edit .env AWS_SECRET_ACCESS_KEY=you_key
4. edit .env AWS_S3_BUCKET_NAME=you_key
1. copy .env.example .env
1. edit .env AWS_ACCESS_KEY_ID=you_key
1. edit .env AWS_SECRET_ACCESS_KEY=you_key
1. edit .env AWS_S3_BUCKET_NAME=you_key
# Running Server
```
cd forms/multipart-s3
cargo run (or ``cargo watch -x run``)
```
http://localhost:3000
http://localhost:8080
# Using Other Regions
<!-- - https://www.rusoto.org/regions.html -->
- https://docs.rs/rusoto_core/0.42.0/rusoto_core/enum.Region.html