All Projects → jabardigitalservice → pikobar-jabarprov-go-id

jabardigitalservice / pikobar-jabarprov-go-id

Licence: MIT license
Official website PIKOBAR.

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to pikobar-jabarprov-go-id

pikobar-pelaporan-frontend
Frontend Aplikasi Input Pelaporan Data Kasus COVID-19.
Stars: ✭ 14 (-67.44%)
Mutual labels:  covid-19, pikobar
pikobar-flutter
Pikobar Flutter (Android) app.
Stars: ✭ 71 (+65.12%)
Mutual labels:  covid-19, pikobar
covid
MolSSI SARS-CoV-2 Biomolecular Simulation Data and Algorithm Store
Stars: ✭ 24 (-44.19%)
Mutual labels:  covid-19
c19
C19 is an Open Source COVID-19 self registration tool build by volunteering people in tech.
Stars: ✭ 29 (-32.56%)
Mutual labels:  covid-19
COVID19 AgentBasedSimulation
COVID-ABS: An Agent-Based Model of COVID-19 Epidemic to Simulate Health and Economic Effects of Social Distancing Interventions
Stars: ✭ 56 (+30.23%)
Mutual labels:  covid-19
covid-19-vulnerability
COVID-19 Vulnerability Index for neighbourhoods and Local Authorities in the UK
Stars: ✭ 30 (-30.23%)
Mutual labels:  covid-19
covid-19-uy-vacc-data
Uruguay COVID-19 vaccination data
Stars: ✭ 27 (-37.21%)
Mutual labels:  covid-19
COVID-19-Tweet-Classification-using-Roberta-and-Bert-Simple-Transformers
Rank 1 / 216
Stars: ✭ 24 (-44.19%)
Mutual labels:  covid-19
covid tracker
This is a Texas-centric COVID Tracker that focuses on impacts felt across the state, both by those experiencing COVID-19 directly as patients or victims and those experiencing COVID-19 indirectly through economic hardship and other non-health impacts.
Stars: ✭ 15 (-65.12%)
Mutual labels:  covid-19
Covid-chest-Image-classification-from-Deep-Residual-Networks
No description or website provided.
Stars: ✭ 14 (-67.44%)
Mutual labels:  covid-19
covid-19-api
Yahoo Knowledge COVID-19 API provides JSON-API and GraphQL interfaces to access COVID-19 publicly sourced data
Stars: ✭ 43 (+0%)
Mutual labels:  covid-19
People-Counting-in-Real-Time
People Counting in Real-Time with an IP camera.
Stars: ✭ 233 (+441.86%)
Mutual labels:  covid-19
covid19cuba-app
Mobile application of Covid19 Cuba Data project implemented with Flutter
Stars: ✭ 41 (-4.65%)
Mutual labels:  covid-19
ImmunoLynk
[Lumiata COVID-19 Winner] COVID Immunity testing results registered to the Blockchain for healthcare safety.
Stars: ✭ 17 (-60.47%)
Mutual labels:  covid-19
covid-vaccine-data
This repository contains data on COVID-19 vaccinations in New York City (NYC), from the NYC Department of Health and Mental Hygiene.
Stars: ✭ 26 (-39.53%)
Mutual labels:  covid-19
drugstores
Provide Covid-19 information in Taiwan.
Stars: ✭ 37 (-13.95%)
Mutual labels:  covid-19
links
Collection of links and information about COVID-19
Stars: ✭ 12 (-72.09%)
Mutual labels:  covid-19
covid-19-status
Menu bar widget for MacOS with COVID-19 statistics
Stars: ✭ 50 (+16.28%)
Mutual labels:  covid-19
wargabantuwarga.com
Inisiatif warga untuk berbagi informasi seputar fasilitas kesehatan dan alat kesehatan untuk COVID-19.
Stars: ✭ 533 (+1139.53%)
Mutual labels:  covid-19
Korea-Covid-19-Vaccine-Reservation
💉 코로나 잔여백신 예약 매크로 커스텀 빌드 (속도 향상 버전)
Stars: ✭ 22 (-48.84%)
Mutual labels:  covid-19

PIKOBAR WEB

Netlify Status

Web Pikobar (Pusat Informasi dan Koordinasi COVID-19 Jawa Barat), dapat diakses di https://pikobar.jabarprov.go.id

Index

Firebase Setup

Pikobar menggunakan Firebase sebagai backend.

Environment Variable Setup

Service Account

  1. Masuk dengan Google Account, lalu buka https://console.firebase.google.com/.
  2. Buat projek baru. Aktifkan opsi Enable Analytics.
  3. Pada sidebar, lihat grup Develop. Pilih Database. Pilih Create database. Pilih Start in production mode, lalu pilih location yang diinginkan untuk Cloud Firestore. Create Database
  4. Pada sidebar, klik ikon menu ⚙️. Pilih Project settings. Pilih tab Service accounts. Klik Generate new private key. Service account credentials akan diunduh dalam bentuk JSON. Generate service account private key
  5. Ubah nama file JSON dari langkah (4) menjadi config.firebase.service-account.js.
  6. Buka file tersebut lalu ganti isinya menjadi seperti ini. Catatan: sesuaikan nilai dari <VALUE>.
    module.exports = {
      type: '<VALUE>',
      project_id: '<VALUE>',
      private_key_id: '<VALUE>',
      private_key: '<VALUE>',
      client_email: '<VALUE>',
      client_id: '<VALUE>',
      auth_uri: '<VALUE>',
      token_uri: '<VALUE>',
      auth_provider_x509_cert_url: '<VALUE>',
      client_x509_cert_url: '<VALUE>'
    }
  7. Simpan file pada langkah (6) ke dalam root folder project, yakni sejajar dengan package.json.

Firebase SDK

  1. Pada sidebar, pilih Project Overview.
  2. Jika projek masih kosong, pilih ikon berlambang </>.
  3. Jika sudah terdapat aplikasi lain dalam projek, pilih Add app, lalu pilih Web. Add app
  4. Salin nilai variabel firebaseConfig ke dalam file bernama config.firebase.sdk.js. firebaseConfig variable
  5. Taruh file dari langkah (4) pada root folder projek, yakni sejajar dengan package.json.
  6. Buka file tersebut, lalu ganti isinya menjadi seperti ini. Catatan: sesuaikan nilai dari <VALUE>.
    module.exports = {
      apiKey: '<VALUE>',
      authDomain: '<VALUE>',
      databaseURL: '<VALUE>',
      projectId: '<VALUE>',
      storageBucket: '<VALUE>',
      messagingSenderId: '<VALUE>',
      appId: '<VALUE>',
      measurementId: '<VALUE>',
      publicVapidKey: '<VALUE>'
    }
  7. Untuk mendapatkan nilai dari publicVapidKey, klik menu ⚙️ pada sidebar. Pilih Project settings. Pilih tab Cloud Messaging.
  8. Pada bagian Web configuration > Web Push certificates, klik Generate Key Pair. Salin nilai yang muncul ke dalam variabel publicVapidKey pada file di langkah (6). Cloud Messaging generate key pair

Membuat file .env

  1. Pada langkah ini, Anda telah mempunyai file bernama config.firebase.service-account.js dan config.firebase.sdk.js pada root folder projek Anda.
  2. Buka terminal, lalu arahkan ke folder projek Anda.
  3. Jalankah perintah berikut.
    $ npm run write:env
  4. Pastikan perintah tersebut menghasilkan .env yang berkesesuaian dengan .env.example.

Firestore Setup

  1. Di Firebase Console, pada sidebar group Develop, pilih Database, lalu pilih tab Rules. Salin isi file migration/firestore.rules ke area yang disediakan. Lalu pilih Publish. Update Firestore Rules
  2. Buka terminal, lalu arahkan ke folder projek Anda.
  3. Jalankan perintah berikut.
    $ npm run migrate
  4. Proses ini dapat memakan waktu 5-10 menit.
  5. Suksesnya perintah akan ditandai dengan log bertuliskan Firestore data successfully imported.

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

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

Export Collection

Fitur ini digunakan untuk meng-export sebuah Firestore collection ke dalam file json.

  1. Pastikan langkah yang ada di Environment Variable Setup sudah dilakukan.
  2. Jalankan command berikut dari root folder project
npm run export collection-name
  1. Jika berhasil, file hasil export akan dibuat di migration/export.json

Pedoman Kontributor

Jabar Digital Service mengucapkan terima kasih kepada publik yang ingin berkontribusi untuk Pikobar 🙏.

Sebagai panduan, kami mempunyai panduan umum untuk kontributor dan panduan kontributor untuk repositori ini.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].