Skip to content

image uploader by saving to firebase storage

License

Notifications You must be signed in to change notification settings

chiya-project/fireup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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