← Back to Little by Little
OWNER SETUP · ABOUT 10 MINUTES

Connect your own free backend.

This creates separate accounts, syncing, and a private feedback inbox for this app. No connection to Weekly. No paid services or billing setup.

Keep it on Spark.Choose Firebase’s no-cost Spark plan. Don’t add a billing account or switch to Blaze for this setup.
1

Create a new Firebase project

Open Firebase Console and choose Add project. Use a name like “Little by Little”. This must be a new project dedicated to this app.

Open Firebase Console ↗
2

Add a web app and switch on sign-in

In project settings, register a Web app. In Authentication → Sign-in method, enable Email/Password, Google, and Anonymous. Google asks you to set a public-facing app name and support email.

In Authentication → Settings → Authorized domains, add the exact domain where this app will live. Keep localhost for local development.

3

Create Firestore and apply the rules

Create a Firestore database. Select the no-cost Spark plan. Then open Firestore → Rules, replace the starter rules with the file below, and publish.

These rules keep account records private to each user. Feedback is write-only from the app and can be read by project administrators in Firebase Console.

4

Add the web configuration here

Copy the Web app configuration object from Firebase project settings. Paste only that client configuration, never a service-account file or private key.

The form checks and downloads the config in your browser. It does not send it anywhere. Replace the project’s firebase-config.js with the downloaded file.

5

Publish the static website

Put these project files in a private GitHub repository, then connect that repository to a new Cloudflare Pages site. Choose the static/no-framework option, leave the build command blank, and set the output directory to .. This enables automatic publishing whenever you push an update from VS Code.

Add the deployed *.pages.dev domain to Firebase’s authorized domains. Cloudflare Pages serves the website; Firebase handles only app accounts, sync, and feedback. Keep both services on their free plans.

Cloudflare connection steps ↗
6

Make one test account

Open the deployed site, create an account, add a sample routine and check-in, then sign in on another device. Remove the sample data before sharing the link.

Full setup notes ↗