fireup

image uploader by saving to firebase storage

MIT License

Stars
5

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

  1. Clone the repository
git clone https://github.com/chiya-project/fireup.git
  1. go to the folder and install dependencies
cd fireup && npm install
  1. Create .env file, Example on .env.example

How to get private key

  1. go to firebase console 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