Case study — 27 / 27
Cebu Marketplace
Modern Mobile Marketplace for Local Commerce
- Category
- Mobile
- Core stack
- React Native, Expo, Supabase
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.
Key features
- 01
Instagram-style Stories
My Day stories for product promotion and social engagement with full-screen viewer and swipe navigation.
- 02
User Authentication
Secure authentication with Supabase including sign up, sign in, and session management.
- 03
Multi-category Browsing
Browse products across 9+ categories including PC, Mobile, Gaming, Audio, Camera, Motors, Home, Food, and Fashion.
- 04
Advanced Search & Filters
Real-time search with price range filtering (Under ₱1K to Over ₱50K) and sorting options.
- 05
Shopping Cart System
Complete cart functionality with add/remove items, quantity management, and checkout flow.
- 06
Product Management
Create, edit, and manage product listings with image upload and detailed information.
- 07
Animated UI Elements
Smooth floating action buttons with spring physics and natural motion animations.
- 08
Responsive Design
Optimized for both iOS and Android with consistent cross-platform experience.
- 09
Banner Carousel
Promotional banner system for featured products and special offers.
- 10
User Profile
Comprehensive profile with account settings, purchases, and payment methods.
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.
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.
Challenges & solutions
- 01
Cross-Platform Development
Implemented Expo with React Native ensuring consistent behavior across iOS and Android, utilizing Expo Router for file-based navigation.
- 02
Real-time Data Sync
Integrated Supabase with real-time subscriptions enabling instant updates for product listings and cart management.
- 03
Complex Animations
Utilized React Native's Animated API for smooth floating action buttons, story transitions, and interactive elements with spring physics.
- 04
Image Upload Management
Implemented Expo Image Picker with Supabase Storage integration for optimized image uploads with compression.
- 05
State Management
Designed scalable Context API architecture with AuthContext and CartContext avoiding prop drilling.
- 06
Automated Build Pipeline
Set up EAS Build with GitHub Actions CI/CD for automated APK generation and continuous deployment.
Outcomes & impact
Modern Architecture
Successfully implemented scalable React Native architecture with TypeScript achieving 100% type safety.
Cross-Platform Success
Single codebase running seamlessly on iOS and Android, reducing development time by 50%.
Automated Deployment
Established CI/CD pipeline enabling automated APK builds with zero manual intervention.
Enhanced UX
Integrated social commerce features creating engaging shopping experience combining e-commerce with social elements.
Scalable Backend
Leveraged Supabase providing production-ready backend with real-time capabilities and secure data management.
Performance Excellence
Achieved smooth 60fps animations and fast load times through optimization techniques.
Developer Experience
Improved development speed and maintainability using Expo Router and NativeWind.
Production Ready
Created automated build scripts for both cloud and local APK generation.
Roadmap
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
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
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
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
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
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
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