RemiWriting · 14

You don't need a database (yet)

23 November 2026 · 7 min read · engineering · google drive · conservation

Most internal tools start with the same shopping list: a database, a server, a login page, somewhere to upload files, and a hosting bill. For the bird project I skipped all of it and used the Google Drive folder the team already had. So far I haven't missed the database once.

I've been helping Oceanus Conservation, a small NGO restoring mangroves in the Philippines, find out which birds are coming back to the areas they've replanted. Three recorders capture two minutes in every five, day and night, and the field team uploads everything to a shared Drive folder. That's about 28,000 recordings a season.

They needed a way to go through those recordings: see the sound as a picture, draw a box around a call, name the bird, and see what teammates had already labelled. It's a textbook internal app. A handful of users, one organisation, and data that has to stay theirs.

The usual stack, and what it really costs

Built the default way, the list looks something like this:

  • a database for the labels, and an API server in front of it
  • user accounts and a login page
  • file storage for the audio, plus an upload screen
  • backups, and some way to see who changed what
  • hosting for all of it, and someone to keep it patched

None of it is hard on its own. Together it's most of the project, and every piece keeps costing you after launch. For an NGO with a slow connection and no IT team, that last line is what kills tools. The developer moves on, a certificate expires, a free tier changes, and the app quietly stops working.

What Drive already does

The team was already using a system that covers most of that list. They just don't think of it as a backend.

  • Uploads. Drive's web and desktop apps already handle drag-and-drop, huge folders and patchy internet. The team knows them, so I didn't build an upload screen. (The annotator can upload too, but most files arrive the normal way.)
  • Access control. Sharing the folder is the permission system. Someone joins, you share it with them. Someone leaves, you take them off. There's no user table.
  • Version history. Drive keeps earlier versions of a file for a while, and forever if you pin one, so a bad save isn't the end of the world.
  • Editing at the same time. Anything that lives in a Google Sheet gets live, multi-person editing for free. Our review sheet, where the team marks the model's guesses right or wrong, is just a Sheet.
  • An activity log. Drive already records who uploaded, edited, moved or deleted what, and when. That's the audit trail I'd otherwise have to build.
  • Cost. Oceanus already had the Drive. The API is free within Google's quotas, and a team this size won't get anywhere near them.

How the annotator uses it

The annotator is one static web page: HTML, CSS and JavaScript, no build step. People sign in with their own Google account right there in the browser, and the page talks straight to the Drive API. There's no server of mine in the middle.

How the pieces fit
01 · PeopleThe field teamAny browser, on a laptop or a phone.
opens
02 · The appOne static web pageHTML and JavaScript. No server, no database.
signs in with Google, calls the Drive API
03 · Google DriveThe Oceanus folder
  • Recordings/read only
  • Annotations/read + write
  • Detections/read only
Plus Drive's own interface, which the team already knows: drag-and-drop uploadsharingversion historyactivity log
The app only ever writes to Annotations/, and only to files it created there. Everything else in the folder it can read but not touch.

Recordings are read straight from the team's folders. Labels are saved as small JSON files in an Annotations folder, one per person per recording, so two people can never overwrite each other's work. For the "show me every likely oriole" view, I build an index on my laptop, upload it to Drive as a single JSON file, and the page reads that.

Narrow permissions, so the worst bug stays small

The choice I'm happiest with is how little the app is allowed to do. Google lets an app ask for full access to someone's Drive, and it's tempting, because then everything just works. The annotator asks for two narrower things instead: read access, to browse and play recordings, and a permission called drive.file, which only lets an app change files it created itself.

So the worst bug I can ship can't delete or corrupt a single recording. It can only mess up the label files the app made, and those have version history. For a team whose whole season of fieldwork lives in that folder, that's worth more than any feature.

(One catch I'll come back to: Google classes read access to all of someone's Drive as a "restricted" permission. That's fine for an internal tool. It's a different story if you go public. drive.file on its own is classed as non-sensitive, and it's the one Google recommends.)

No server at all

Because the page talks to Drive directly, there's nothing for me to run. The page is a few static files I can host anywhere, or the team can open it from a laptop. I've got no database to back up and no server to patch at 2am.

It also settled privacy before it came up. The recordings and labels belong to Oceanus, and the app never keeps a copy of them. Who can see what is whatever their sharing settings say, and if I disappeared tomorrow, the tool and the data would still be sitting in their Drive.

Compared with a typical setup

Postgres or Firebase, plus a small serverDrive as the backend
UploadsAn upload screen you buildDrive's own apps
Who sees whatA user table and rolesFolder sharing
HistorySomething you designBuilt-in version history
Audit logSomething you buildDrive's activity log
Searching recordsReal queriesBy folder, name and date; precompute the rest
UpkeepServer, backups, patchesStatic files
CostA monthly bill that grows with useAlready paid for

When not to do this

Drive isn't a database, and it'll tell you so quickly if you ask it to act like one.

  • You need real queries. Drive finds files by name, folder and date, not by what's inside them. "Every kingfisher label scored above 0.8" means downloading files and filtering them yourself. My precomputed index works around that. Once you're maintaining several of those indexes, you want a database.
  • Lots of users, or lots of tiny writes. The Drive API has per-minute quotas, and listing or downloading a file uses far more of them than reading a database row. A busy app will start getting "rate limit exceeded" errors and has to back off and retry. Ten people labelling birds is nowhere near that. A few hundred people hammering the same app could be.
  • Several people editing the same record. Sheets and Docs merge live edits for you; your own JSON files don't. That's why the annotator gives everyone their own file. If your data can't be split up like that, you need transactions, and that means a real database.
  • Users outside your organisation. On Google Workspace you can mark the app as internal and skip Google's review. With ordinary Gmail accounts the app stays in "testing": 100 named test users at most, and everyone has to sign in again every seven days. Going properly public with read access to Drive means Google's restricted-permission review, which is a project in itself.
  • Anything that must stay consistent across files, like money moving between two accounts. Drive has no transactions, and you don't want to fake them.

The "yet"

I don't see this as forever. It's the right backend until the app proves it needs a better one, and I've tried to make that move cheap for whenever it comes. Each label file carries a version number, and every edit is stored as its own event instead of overwriting the last. So the day Oceanus needs a database, moving is a script that reads the folder and writes rows, not a rewrite. (That script already exists: it turns the folder into tidy tables for training the models.)

Until then, the team keeps using a tool they already know, I don't have a server to babysit, and the data stays theirs. For a small internal app, that's a hard deal to beat.