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
)
- File Storage on Firebase Storage
- Save file using md5 by buffer file, to prevent duplicates
- Deleted file by hash id
Installation
- Clone the repository
git clone https://github.com/chiya-project/fireup.git
- go to the folder and install dependencies
cd fireup && npm install
- Create
.env
file, Example on .env.example
How to get private key
- go to
firebase console
and select your project. if it doesn't already exist, create one.
- Click Project Overview > Project Settings > Service Accounts > Generate New Private Key.
- don't forget to start firebase storage and realtime database, they are in the menu.
Author