Showcase Your Work

Offline-First Recipe App with IndexedDB: Seeking Feedback on Sync & UI

Dec 03, 2026
Evanix Orel
Evanix Orel @evanixorel
347 Rep Rising Writer
2 views 0 replies
347 Rising Writer 2 Views 0 Replies

My latest project is a lightweight recipe manager designed for offline use on mobile and desktop. The stack includes Vue 3, Vite, and the Composition API. Data is stored in IndexedDB via the idb library, with a Service Worker that caches assets and syncs changes to a remote JSON‑API when connectivity returns.

The goal is to provide a seamless experience for users who travel or work in low‑bandwidth areas. Features include tagging, ingredient filtering, a step‑by‑step cooking timer, and a minimal “favorites” list. A background sync job runs every 30 minutes, posting any local changes to the server and pulling updates for shared recipes.

Challenges I faced were managing conflict resolution when the same recipe is edited on multiple devices, and ensuring the UI remains responsive during large sync batches. I implemented a simple last‑write‑wins strategy and added optimistic UI updates to keep the app snappy.

I’d appreciate feedback on two specific areas:
1. Are there more robust patterns for conflict handling in offline‑first applications that I might adopt?
2. Does the current mobile‑first layout (single‑column, large tap targets) feel intuitive, or are there usability improvements you would suggest for recipe browsing and editing?


Replies (0)

No replies yet. Be the first to join the discussion.