One codebase, two stores: Coffict
Coffict (https://coffict.com) is a coffee ordering and loyalty app. The mobile client is React Native and the dashboard cafes use is Next.js. The decisive call was where loyalty points get calculated. Leave earning and redemption logic on the device and it becomes something a motivated user can tamper with, so balances and rules live on the server while the app only renders the result. Order ahead, cafe discovery and reward history all sit on that same data model, which is why adding a new reward type did not mean rewriting three screens.





