// CONFIGURE MEMORIES

ONE-TIME CONFIGURATION

Your memories are stored in Firebase — a free database that never pauses and keeps your data safe even when you update this file. Setup takes ~15 minutes.

STEP 1 — CREATE FIREBASE PROJECT

  1. Go to console.firebase.google.com and sign in with Google
  2. Click "Add project" → give it any name → disable Google Analytics → Create project
  3. In the left sidebar, click "Build" → "Firestore Database"
  4. Click "Create database" → choose "Start in production mode" → pick any region → Enable
  5. In the left sidebar, click "Build" → "Authentication" → "Get started"
  6. Click "Email/Password" → enable the first toggle → Save

STEP 2 — FIRESTORE SECURITY RULES

In Firestore → Rules tab, replace everything with this and click Publish:

rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /users/{userId}/memories/{doc} { allow read, write: if request.auth != null && request.auth.uid == userId; } } }

STEP 3 — GET YOUR APP CREDENTIALS

  1. In Firebase console, click the gear icon → "Project settings"
  2. Scroll to "Your apps" → click the web icon ( </> )
  3. Register app with any nickname → copy the firebaseConfig object values below
// ACCESS MEMORIES

ENTER YOUR EMAIL AND WE'LL SEND A LINK TO RESET YOUR PASSWORD.