Bear

Building an Offline Food Database

1st Jul, 2026

The last few weeks I have been working hard on Bearly Fit's built in food database.

To compliment the barcode search, I wanted a completely offline food database complete with:

  • Nutritional information
  • Flags (things like No added sugar, Palm Oil Free, Vegan, Halal etc)
  • Nutriscore + Ecoscore where possible
  • Searchable tags
  • Searchable Categories
  • Varied portion sizes

The Bearly Fit food database - a searchable food list, a nutrition breakdown for an Aduki Beanburger, a portion size picker, and a grid of dietary flags like No Added Sugar, Vegan and Gluten Free

I've managed to build a database of about 2300 items, completely searchable and loggable without the need for an internet connection.

Free users will be able to use Barcode scanning and access to 500~ staple foods offline (think basic meats, fruit, veg, jams, oils, breads etc). Subs will get access to the full offline database.

This week i've been working on the UI, bringing it in line with the rest of the app and trying to make the information easy to read and presentable. Still some work to go but I hope in the next week or so I'll have it ready for release.

Let me know what you think :)

Oh! also on the side: I've been working through merch ideas, rebuilding the code base into Expo 56 and designing the Bearly Fit "Portal" which I hope to launch later this year.

More like this

  1. Testing Database Migrations

    Testing Database Migrations

    Aug 15, 2026

    How I test Bearly Fit's on-device database migrations - seeded databases, restoring previous backups and verifying them from a custom React Native debug menu.

    Read more
  2. Food Photos in the Log View

    Food Photos in the Log View

    Aug 03, 2026

    Final touches to the Bearly Fit food UI - food images in the log view, an info button, and a richer barcode scanning screen with Nova, Nutriscore and Ecoscore grades.

    Read more
  3. Smarter Food Search

    Smarter Food Search

    Jul 28, 2026

    Making it easier to find food in Bearly Fit's growing database with meal-period presets, smart defaults based on the time of day, and Most Recent and All Food filters.

    Read more