B Pharm Mobile App

A full-featured React Native mobile app for PZU B Pharm - Bosnia's leading pharmacy chain. Featuring a unified loyalty system, AI health assistant, direct pharmacist chat, and real-time order tracking across 25+ pharmacies.

React Native Expo TypeScript Node.js Turso Astro TailwindCSS
Started: February 1, 2026
Updated: March 1, 2026
In Progress
B Pharm Mobile App thumbnail

Project Overview

B Pharm is one of Bosnia and Herzegovina's largest pharmacy chains, operating 25+ pharmacies across the country. I originally built their website and webshop from scratch - and after a full rebuild in Astro with a custom payment system and webshop, the next step is a native mobile app that brings the entire B Pharm experience into customers' pockets.

The mobile app is being built with React Native and Expo and will serve as the central hub for everything B Pharm offers: ordering medications and products, managing loyalty points, chatting directly with a personal pharmacist, and getting AI-powered health recommendations - all in one place.

The Full B Pharm Ecosystem

This mobile app is one piece of a larger connected system I've been building for B Pharm. The ecosystem consists of three interconnected products:

  • Website & Webshop (bpharm.ba): Fully rebuilt in Astro with a secure database connection and integrated Monri payment processing. The entire frontend is statically built with a few Astro Islands for interactivity - keeping it blazing fast. When an admin saves a change in the CMS, a "Save changes" button triggers a custom build command server-side that rebuilds the entire static frontend automatically, so content goes live instantly without manual deployments.
  • Loyalty System: A central points-and-rewards engine built into the webshop that I designed from scratch. Customers earn points on every online purchase. The system is being expanded to cover in-person pharmacy shopping as well, creating a unified loyalty wallet that works everywhere B Pharm operates.
  • B Pharm Internal Web App: A private dashboard built for B Pharm employees - pharmacists, managers, and support staff. It handles incoming orders, chat messages from customers, loyalty program management, and real-time analytics across all locations. The mobile app will route all customer communications directly into this internal system.

Loyalty System

The loyalty system is the thread connecting every part of the B Pharm experience. Designed to feel like a modern rewards wallet, it gives customers a real incentive to consolidate their pharmacy shopping with B Pharm - online and in-person. Key capabilities include:

  • Points on every purchase - earned automatically on the webshop and soon on in-store purchases too.
  • Tiered discounts - customers unlock better rewards as their point balance grows, encouraging long-term engagement.
  • Redeemable in-app and online - points can be spent directly at checkout on the webshop or in the mobile app.
  • Full history and balance visibility - customers can see every transaction, point earn, and redemption in their profile.

Key Mobile App Features

  • Browse and order products from the full B Pharm catalog, with real-time stock availability
  • Loyalty wallet - view points balance, transaction history, and redeem rewards at checkout
  • Direct chat with a personal pharmacist - questions routed to the nearest pharmacy's staff
  • AI health assistant - get smart recommendations, medication reminders, and health tips
  • Push notifications for order updates, point milestones, and pharmacist replies
  • Order tracking with live status updates from pharmacy to delivery
  • Saved prescriptions and medication history for quick reordering
  • Access to all 25+ B Pharm pharmacy locations with contact info and hours

Technical Architecture

  • Mobile App (React Native + Expo): Cross-platform iOS and Android app built with Expo for fast iteration and over-the-air updates. TypeScript throughout for a reliable, maintainable codebase.
  • Backend API (Node.js + Turso): A shared API layer that powers both the webshop and the mobile app. Turso (libSQL) provides a fast, distributed database that runs at the edge.
  • Pharmacist Chat Routing: Customer messages sent from the mobile app are delivered in real-time to the B Pharm Internal web app, where the relevant pharmacy's staff can respond. Replies are pushed back to the customer via WebSocket.
  • AI Integration: An AI health assistant is integrated into the app to help customers understand medications, get supplement recommendations, and set medication reminders - with a clear escalation path to a real pharmacist when needed.
  • Loyalty Engine: The central loyalty system is shared across the webshop, internal app, and mobile app - a single source of truth for every customer's points and reward history.

Current Status

The project is actively in development. The webshop and website are live at bpharm.ba, the loyalty system is running on the webshop, and the B Pharm Internal web app is in daily use by their staff. The mobile app is currently being built, with the core screens, loyalty wallet, and pharmacist chat as the first milestones.

Want to work with me?

If you liked my work, feel free to reach out. I'm always excited to collaborate on new projects and bring creative visions to life.