Personal Project Firebase Firestore Google Maps

Qodem Donation Logistics

Streamlined blood donation coordination and bank locator.

The Overview

Qodem reduces the difficulty of voluntary blood donation. It decentralizes the booking process, pulling clinic mapping data dynamically for users to locate nearby donation centers. In parallel, it verifies blood donations through secure, generated QR codes acting as digital receipts.

The Challenge

Managing personal medical logistics requires absolute backend reliability. Handshaking Google Maps location APIs with realtime database sockets for instantaneous booking confirmation demands tightly coupled networking code that must not block the main thread.

Also, transitioning safely between secure login sessions meant refining the local caching mechanisms: signing out completely purges cached user parameters and DB instances before replacing them cleanly with new session constraints.

Architecture & Technical Decisions

I structured Qodem heavily atop Firebase's Cloud Firestore to offload complex REST setup, trusting their SDKs to maintain WebSocket connections robustly during appointment scheduling streams.

Firebase Integration

  • Authentication Pipelines: SMS-driven verification loops using Firebase Auth guarantee a baseline of user traceability while allowing rapid tester deployments without hardcoded backdoors.
  • Maps Interoperability: Geographic data models from Firestore map cleanly against the Google Maps API layer to populate nearby clinic markers, factoring in device origin for immediate routing.
  • QR Encoding: Validated appointments generate unique cryptographic strings serialized directly into QR formats natively, reducing backend strain and providing offline validation at physical clinic thresholds.

Impact & Results

  • Easy User Onboarding accomplished using dynamic SMS-Authentication, maximizing potential donor engagement and app retentiveness.
  • Instant Clinic Discovery enabled through optimized bi-directional binding of Firebase realtime sockets to local Google Map instance geometries.
  • Zero-Setup Hardware Verification secured by shifting physical clinic tracking exclusively to offline-compatible digital device QR encoding.

The Tech Stack

Database Firebase Cloud Firestore
Authentication Firebase Auth
Mapping Google Maps API