Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erdemkosk/s3-test
https://github.com/erdemkosk/s3-test
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/erdemkosk/s3-test
- Owner: erdemkosk
- Created: 2023-08-28T10:15:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-28T11:36:52.000Z (over 1 year ago)
- Last Synced: 2023-08-28T12:16:16.722Z (over 1 year ago)
- Language: JavaScript
- Size: 231 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to s3-media-server
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
![Prerequisite](https://img.shields.io/badge/node-10.15.3-blue.svg)
![Prerequisite](https://img.shields.io/badge/npm-6.4.1-blue.svg)
[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://github.com/erdemkosk/quiz_api#readme)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/erdemkosk/quiz_api/graphs/commit-activity)
[![License: MIT](https://img.shields.io/github/license/erdemkosk/quiz_api)](https://github.com/erdemkosk/quiz_api/blob/master/LICENSE)
[![Twitter: erdemkosk](https://img.shields.io/twitter/follow/erdemkosk.svg?style=social)](https://twitter.com/erdemkosk)> Aws s3 based media server for uploading file fastest way and streaming on it.
## Demo
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/Qir4seehtvU/0.jpg)](https://www.youtube.com/watch?v=Qir4seehtvU)
![alt text](https://i.imgur.com/1jKjaAp.png)
![alt text](https://i.imgur.com/TUsp3G8.png)## Endpoints
| Urls | Type | Params | Aim |
|--------------------------------------------------|------|------------------------------------|-----------------------------------------|
| http://localhost:4000/api/upload | POST | body -> file | Upload a file to s3 with partial update |
| http://localhost:4000/api/stream/file-list | GET | - | Retrive uploaded mp4 formatted items |
| http://localhost:4000/api/stream?fileName=blabla | GET | header -> range , query-> fileName | Streaming endpoint for selected s3 file |## Prerequisites
- node 10.15.3
- npm 6.4.1## Install
```sh
npm install
```## Usage
```sh
npm run start
```## Run tests
```sh
npm run test
```## Author
👤 **Mustafa Erdem Köşk**
* Website: http://www.erdemkosk.com
* Twitter: [@erdemkosksk](https://twitter.com/erdemkosksk)
* Github: [@erdemkosk](https://github.com/erdemkosk)
* LinkedIn: [@erdemkosk](https://linkedin.com/in/erdemkosk)## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2023 [Mustafa Erdem Köşk ](https://github.com/erdemkosk).