Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tubone24/s3-file-uploader
Web application proxying S3 access because my company proxy prohibits S3 access
https://github.com/tubone24/s3-file-uploader
aws-s3 fargate golang nuxtjs uploader
Last synced: 10 days ago
JSON representation
Web application proxying S3 access because my company proxy prohibits S3 access
- Host: GitHub
- URL: https://github.com/tubone24/s3-file-uploader
- Owner: tubone24
- Created: 2020-03-28T03:28:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:18:00.000Z (about 1 year ago)
- Last Synced: 2024-11-15T21:34:02.050Z (about 1 month ago)
- Topics: aws-s3, fargate, golang, nuxtjs, uploader
- Language: Vue
- Homepage:
- Size: 536 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# s3-file-uploader
## background
Web application proxying S3 access because my company proxy prohibits S3 access(OMG).
The features of this system are as follows.
- Never using `PUT` or `Delete` HTTP methods because of prohibits to my company's proxy
- compress GZip before upload file because of prohibits large file for my company's proxy.
- List S3 files.
- HTTP Basic Authentication.### With AWS ECS
Example log-uploader archtecture with AWS ECS(Fargate)
![img](./docs/images/arch.png)
## Install
### Precondition
- Node.js (more v10.15.x)
- Go (more 11.1)
- Docker(If you use)### Install dependencies
```
make backend-install
make front-install
```### Set your environment
- Fix front config for your environment to refer [sample.json](https://github.com/tubone24/s3-file-uploader/blob/master/src/front/config/env/sample.json)
- Fix backend config for your environment to refer [sample.toml](https://github.com/tubone24/s3-file-uploader/blob/master/src/backend/config/env/sample.toml)
If you create `dev` config, set `dev.json`, `dev.toml` for 2 config name.
### Build
```
make front-build ENV=foo
make backend-build END=foo
```## Usage
Run local
```
make backend-run ENV=foo
```Use Docker
```
make docker-build ENV=foo
```## Demo
Upload File
![img](./docs/images/log_upload.gif)
List S3 files
![img](./docs/images/list.png)