Giter VIP home page Giter VIP logo

itungduit's Introduction

ItungDuit Mobile App (Flutter)

Index

Firebase Setup

ItungDuit menggunakan Firebase sebagai backend.

Firebase SDK

  1. Buat project baru pada console firebase

  2. Konfigurasi aplikasi android untuk menggunakan Firebase

Cloud Firestore Setup

  1. Di firebase console, pada sidebar, lihat grup Develop. Pilih Database.
  2. Klik Create database.
  3. Pilih Start in production mode,
  4. lalu pilih location yang diinginkan untuk Cloud Firestore. Create Database

Firebase Service Account

  1. Pada sidebar, klik ikon menu โš™๏ธ.
  2. Pilih Project settings.
  3. Pilih tab Service accounts.
  4. Klik Generate new private key.
  5. Klik Generate Key pada bagian popup. Sebuah file JSON akan diunduh ke komputer Anda. Generate service account private key

Migrasi data

  1. Ubah nama file JSON yang tadi diunduh menjadi serviceAccount.json.
  2. Pindahkan file serviceAccount.json ke dalam <folder project itungduit>/migration.
  3. Buka file config.js dan ubah nilai databaseURL sesuaikan dengan nilai databaseURL yang ada di Service accounts pada halaman Project settings console firebase (lihat pada gambar Firebase Service Account).
  4. Buka teminal, arahkan ke <folder project itungduit>/migration.
  5. Jalankan perintah berikut
# install dependencies
$ npm install

# migrasi data ke firestore
$ npm run migrate

Build Setup

# install dependencies
$ flutter pub get

# run debug mode
$ flutter run

# run release mode
$ flutter run --release

# build app bundle
$ flutter build appbundle

# build apk
$ flutter build apk

For detailed explanation on how things work, check out Flutter docs.

itungduit's People

Contributors

rcdevgames avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.