Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subhendu-kumar/media-cloud-bridge
https://github.com/subhendu-kumar/media-cloud-bridge
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/subhendu-kumar/media-cloud-bridge
- Owner: Subhendu-Kumar
- Created: 2024-10-26T09:58:40.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T19:20:14.000Z (about 2 months ago)
- Last Synced: 2024-11-23T20:23:50.450Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://media-cloud-bridge.vercel.app
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Media cloud bridge
Media-Cloud-Bridge API allows seamless uploading and management of media files (images, videos, etc.) to cloud storage services like Cloudinary. It validates file formats, uploads them to the cloud, and returns secure URLs and public IDs for easy access. The API supports multiple file types and handles errors gracefully, making it ideal for apps needing efficient media management.
## API Reference### Upload Image
```http
POST /upload/image
```
##### Request Body
| Key | Type | Description |
| :-------- | :------- | :------------------------- |
| `image` | `file` | **Required** |### Upload Video
```http
POST /upload/video
```
##### Request Body
| Key | Type | Description |
| :-------- | :------- | :------------------------- |
| `video` | `file` | **Required** |## Installation
Clone the Repository Then use
```bash
npm install
npm run dev
```
## Authors- [@Subhendu_Kumar](https://github.com/Subhendu-Kumar)