Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chiya-project/fireup
image uploader by saving to firebase storage
https://github.com/chiya-project/fireup
express firebase-database firebase-storage multer multer-fileupload
Last synced: 4 months ago
JSON representation
image uploader by saving to firebase storage
- Host: GitHub
- URL: https://github.com/chiya-project/fireup
- Owner: chiya-project
- License: mit
- Created: 2024-09-16T08:34:51.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-09-16T10:35:12.000Z (5 months ago)
- Last Synced: 2024-09-16T13:25:21.842Z (5 months ago)
- Topics: express, firebase-database, firebase-storage, multer, multer-fileupload
- Language: JavaScript
- Homepage: https://i.chiya.bot
- Size: 31.3 KB
- Stars: 5
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firebase Storage Uploader
This project is a web base uploader built with Node.JS, express, firebase storage and firebase realtime database.
## Fearures
- File upload with size 10MB (set default on [`.env`](/.env.example#L5))
- File Storage on Firebase Storage
- Save file using md5 by buffer file, to prevent duplicates
- Deleted file by hash id## Installation
1. Clone the repository
```sh
git clone https://github.com/chiya-project/fireup.git
```2. go to the folder and install dependencies
```sh
cd fireup && npm install
```3. Create `.env` file, Example on [`.env.example`](/.env.example)
## How to get private key
1. go to [`firebase console`](https://console.firebase.google.com/) and select your project. if it doesn't already exist, create one.
2. Click Project Overview > Project Settings > Service Accounts > Generate New Private Key.
3. don't forget to start firebase storage and realtime database, they are in the menu.## Author
- [`Github`](https://github.com/DikaArdnt)
- [`Website`](https://dikaardnt.com)