Illust
MarketplaceGlobal Art MapBlogTwitter
  • Illust.space
  • .github
    • pull_request_template
  • docs
    • Illust Dev Docs
    • Packages
    • process
    • dev-workflow
      • Deployment
      • Development process
      • Visual Studio Code
    • libraries
      • Storybook
      • Act
      • Aframe
      • Chakra UI
      • Cypress
      • Hosting
      • React Three Fiber
        • Shadows
      • Firebase
        • Firestore
      • zustand
      • Firebase Url Shotener
    • Flows
      • User Sign In
      • Aframe AR Map
  • packages
    • Illust API
    • Illust Marketplace
    • Migrate DB
    • scraper
    • Illust Shared
    • Illust WebAR Discovery App
  • Illust Code Style Guide
    • JavaScript/TypeScript
    • Code Orgainzation
    • React
    • Testing
  • Knowledge Base
    • React
      • Hooks
Powered by GitBook
On this page
  • Proxy Flow
  • Certs
  • Batch processing

Was this helpful?

  1. docs
  2. libraries

Firebase

Firebase is Google's suite of tools for building realtime application. We use it for data storage, file storage, API hosting, some webpage hosting, and auth

PreviousShadowsNextFirestore

Last updated 2 years ago

Was this helpful?

Proxy Flow

Certs

First install

# MacOS
brew install mkcert
# Windows
scoop install mkcert

Then install it on your browser (run this on the Windows side for a wsl setup)

mkcert -install

Then generate certs, which get installed and ready for your browser to use

mkcert localhost

Move them to illust-marketplace/certificates/localhost.pem and illust-marketplace/certificates/localhost-key.pem

Batch processing

Firestore has a class that lets you do multiple updates in a single batch, and have those transactions fail together if one fails. However, it has a hard limit of 500 transactions per batch. If you need to process more that 500 items in a batch (for instance in a data migration), you can use the class (there's also one for the ). MulitBatch has the same API as Batch, but will submit as many transactions as you want in batches of 500.

Note though that if a transaction in the second batch fails, the first batch will still have gone through.

mkcert
Batch
MultiBatch
frontend