All projects

Case study — 27 / 27

Cebu Marketplace

Modern Mobile Marketplace for Local Commerce

Category
Mobile
Core stack
React Native, Expo, Supabase
React Native 0.81.5 · Expo SDK 54 · TypeScript 5.9 · Expo Router 6.0 · Supabase
01

Overview

A modern React Native marketplace application built with Expo that connects local buyers and sellers in Cebu. Features real-time product listings, Instagram-style stories, and seamless shopping experience.

Cebu Marketplace is a full-stack mobile commerce platform designed for the local Cebu community, enabling users to buy and sell products across multiple categories. The app features an intuitive interface with social commerce elements like 'My Day' stories, real-time product browsing, shopping cart functionality, and user authentication.

Cebu Marketplace is a comprehensive mobile marketplace application that combines traditional e-commerce with social commerce features to create an engaging shopping experience. The platform includes a dynamic home feed with Instagram-style stories for product promotion, category-based browsing across 9+ categories (PC, Mobile, Gaming, Audio, Camera, Motors, Home, Food, Fashion), advanced search and filtering capabilities, and a complete shopping cart system. Users can create accounts, list their own products, manage their listings, and browse products with price range filters and sorting options.

02

Key features

  1. 01

    Instagram-style Stories

    My Day stories for product promotion and social engagement with full-screen viewer and swipe navigation.

  2. 02

    User Authentication

    Secure authentication with Supabase including sign up, sign in, and session management.

  3. 03

    Multi-category Browsing

    Browse products across 9+ categories including PC, Mobile, Gaming, Audio, Camera, Motors, Home, Food, and Fashion.

  4. 04

    Advanced Search & Filters

    Real-time search with price range filtering (Under ₱1K to Over ₱50K) and sorting options.

  5. 05

    Shopping Cart System

    Complete cart functionality with add/remove items, quantity management, and checkout flow.

  6. 06

    Product Management

    Create, edit, and manage product listings with image upload and detailed information.

  7. 07

    Animated UI Elements

    Smooth floating action buttons with spring physics and natural motion animations.

  8. 08

    Responsive Design

    Optimized for both iOS and Android with consistent cross-platform experience.

  9. 09

    Banner Carousel

    Promotional banner system for featured products and special offers.

  10. 10

    User Profile

    Comprehensive profile with account settings, purchases, and payment methods.

03

Core modules

Home Feed & Stories
Dynamic home screen featuring Instagram-style My Day stories for product promotion, personalized greeting, category shortcuts, banner carousel, and popular products grid with smooth scrolling and animations.
Marketplace Shop
Comprehensive shopping interface with category grid navigation, filter tabs (For You, Popular, Latest), price range filtering (Under ₱1K to Over ₱50K), and responsive product grid with real-time search capabilities.
Product Management
Complete product lifecycle management allowing users to create new listings with image upload, edit existing products, view their active listings, and manage product details including title, description, price, and category.
Shopping Cart & Checkout
Full-featured shopping cart system with add/remove items, quantity management, price calculation, and checkout flow for seamless purchase experience.
User Authentication & Profile
Secure user authentication system with Supabase integration, user profile management, account settings, notification preferences, payment methods, and purchase history tracking.
Category Navigation
Intuitive category-based browsing system with 9+ categories, visual icons, active state indicators, and dynamic product filtering based on selected categories.
Story Viewer
Full-screen Instagram-style story viewer with swipe navigation, product tagging, user information display, and seamless transitions between stories.
Search & Discovery
Advanced search functionality with real-time filtering, category-based search, price range selection, and sorting options (Popular, Latest, For You) for enhanced product discovery.
04

Architecture

Architecture
Mobile-first architecture with React Native and Expo, utilizing file-based routing (Expo Router) and component-driven design patterns with TypeScript for type safety.
Backend & Database
Supabase as Backend-as-a-Service (BaaS) providing PostgreSQL database, authentication, real-time subscriptions, and file storage with automatic API generation and row-level security.
State Management
React Context API for global state management with separate contexts for authentication (AuthContext) and shopping cart (CartContext), combined with custom hooks for data fetching and business logic.
Styling
NativeWind (Tailwind CSS for React Native) for utility-first styling, combined with custom theme system for colors, spacing, and typography, ensuring consistent design across all screens.
Build & Deployment
EAS Build for cloud-based compilation with automated GitHub Actions CI/CD pipeline, supporting both APK (Android) and IPA (iOS) builds with multiple build profiles (development, preview, production).
Security
Supabase authentication with JWT tokens, secure session management, environment variable protection for API keys, and row-level security policies for data access control.
05

Challenges & solutions

  1. 01

    Cross-Platform Development

    Implemented Expo with React Native ensuring consistent behavior across iOS and Android, utilizing Expo Router for file-based navigation.

  2. 02

    Real-time Data Sync

    Integrated Supabase with real-time subscriptions enabling instant updates for product listings and cart management.

  3. 03

    Complex Animations

    Utilized React Native's Animated API for smooth floating action buttons, story transitions, and interactive elements with spring physics.

  4. 04

    Image Upload Management

    Implemented Expo Image Picker with Supabase Storage integration for optimized image uploads with compression.

  5. 05

    State Management

    Designed scalable Context API architecture with AuthContext and CartContext avoiding prop drilling.

  6. 06

    Automated Build Pipeline

    Set up EAS Build with GitHub Actions CI/CD for automated APK generation and continuous deployment.

06

Outcomes & impact

  1. Modern Architecture

    Successfully implemented scalable React Native architecture with TypeScript achieving 100% type safety.

  2. Cross-Platform Success

    Single codebase running seamlessly on iOS and Android, reducing development time by 50%.

  3. Automated Deployment

    Established CI/CD pipeline enabling automated APK builds with zero manual intervention.

  4. Enhanced UX

    Integrated social commerce features creating engaging shopping experience combining e-commerce with social elements.

  5. Scalable Backend

    Leveraged Supabase providing production-ready backend with real-time capabilities and secure data management.

  6. Performance Excellence

    Achieved smooth 60fps animations and fast load times through optimization techniques.

  7. Developer Experience

    Improved development speed and maintainability using Expo Router and NativeWind.

  8. Production Ready

    Created automated build scripts for both cloud and local APK generation.

07

Roadmap

  1. Phase 1 - Core FoundationShipped

    • Project setup with Expo and TypeScript configuration
    • File-based routing with Expo Router implementation
    • Supabase integration for backend services
    • User authentication system (sign up, sign in, session management)
    • Basic UI components library (Button, Card, SearchBar)
    • Theme system with colors, spacing, and typography
  2. Phase 2 - Marketplace FeaturesShipped

    • Home feed with category navigation
    • Product browsing and grid layout
    • Shopping cart functionality with Context API
    • Product card components with images and pricing
    • Category-based filtering system
    • Search functionality with real-time updates
  3. Phase 3 - Social CommerceShipped

    • Instagram-style My Day stories feature
    • Story viewer with full-screen experience
    • Story creation and management
    • Banner carousel for promotions
    • Animated floating action buttons
    • Product listing management interface
  4. Phase 4 - Enhanced FeaturesShipped

    • Advanced filtering (price range, sorting)
    • Product detail pages with full information
    • User profile and settings screens
    • Image upload with Expo Image Picker
    • Notification settings and preferences
    • Purchase history tracking
  5. Phase 5 - Deployment & CI/CDShipped

    • EAS Build configuration for Android/iOS
    • GitHub Actions workflow for automated builds
    • APK generation scripts (PowerShell and Batch)
    • Production build profiles setup
    • Deployment documentation
  6. Phase 6 - Future Enhancements (Planned)Planned

    • Push notifications for new products and messages
    • In-app messaging between buyers and sellers
    • Product reviews and ratings system
    • Wishlist and favorites functionality
    • Payment gateway integration (PayMongo, GCash)
    • Order tracking and delivery status
    • Seller analytics dashboard
    • AI-powered product recommendations
    • Multi-language support (English, Cebuano, Tagalog)
    • Dark mode theme option
08

Tech stack

  • React Native 0.81.5
  • Expo SDK 54
  • TypeScript 5.9
  • Expo Router 6.0
  • Supabase
  • NativeWind 4.2
  • React Context API
  • Expo Linear Gradient
  • Expo Image Picker
  • Ionicons
  • EAS Build
  • GitHub Actions
Next projectOffline-First Ticketing & POS SystemFerry ticketing that keeps selling through internet outages.