CAF-ID / express-firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typing SVG

Base Rest-Api menggunakan Firebase, terdapat Login, Register, dan Change Profile Picture. Untuk UI/UX Silahkan Dibuat Sendiri Dikarenakan Watashi Malazz Untuk Ngebuatnya, Terserah Mau Pake Apa Ga Nih Base.

Created By CAF

Features

Fitur

  • Log In
  • Register
  • Change Profile Picture

Yang Dibutuhkan

Project Firebase
Service Account
  • Pilih Project Setting
  • Pilih Service Account
  • Scroll kebawah klik "Generate new private key"

  • Setelah terdownload buka file, kemudian salin isinya

#example pada file config.js

module.exports = {
    serviceAccount: paste-kan json yang sudah disalin sebelumnya,
}
Service Storage
  • Buat akses storage tinggal next"
  • Edit rules seperti berikut
  • Salin storage url

#example pada file config.js

module.exports = {
    serviceAccount: service_account,
    storageBucket: 'webb-80270.appspot.com'
}
Service Database
  • Buat akses database firestore, tingal next"
  • Done

Cara install

> apt install nodejs git -y
> git clone https://github.com/CAF-ID/express-firebase
> cd express-firebase
> npm i / yarn install /pnpm i
> node server.js

free to use, don't sell

About


Languages

Language:JavaScript 63.0%Language:EJS 37.0%