Shipping is half the job. Hiki deploys on every push to main and runs with no servers to look after, and Bridddge’s accounts live in Firebase.
Hiki runs on Google Cloud in the EU region europe-west1. Cloud Run serves two services, the FastAPI back end and the Next.js web app, and runs the scraper as a Cloud Run job that Cloud Scheduler starts every morning to refresh the catalog from the bookstores. Each push to main triggers Cloud Build, which builds the containers, stores them in Artifact Registry and deploys the new version.
A global HTTPS load balancer with Cloud Armor sits in front of the site. Marketplace photos go straight from the browser into a private Cloud Storage bucket through signed upload links, resized first, so the back end never handles the files. Logs go to Cloud Logging.
Firebase Auth gives Hiki Google sign-in, on the web and in the Android app, and the back end verifies the sign-in token before it trusts a request. Firebase Cloud Messaging sends the push notifications, and the back end clears out tokens that no longer work.
Bridddge runs on the user’s Mac, but its accounts live in Firebase. The app signs users in with Firebase Auth and keeps each account’s subscription and usage in Firestore.
Cloud Run scales with traffic and back down again with no servers to manage, and Firebase brings sign-in and notifications without building them from scratch. This site, larch.ee, runs on Cloud Run too.