Skip to content

A SwiftUI shopping app demo showcasing Firebase Vertex AI integration with Gemini model, presented at Google Developer Group session. Features AI shopping assistant, product catalog, and cart management.

License

Notifications You must be signed in to change notification settings

apiphoomchu/shopping-ai-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping App with AI Demo - Google Developer Group Session

This demo was created for the Google Developer Group session to showcase the integration of SwiftUI with Firebase Vertex AI using Gemini model. It demonstrates how to build a modern e-commerce application with AI-powered shopping assistance.

🎯 Session Overview

This demo shows:

  • SwiftUI modern UI implementation
  • Firebase integration in iOS
  • Vertex AI with Gemini model implementation
  • Real-world application architecture
  • Best practices for iOS development

⭐️ Features

  • Product Catalog

    • Categorized product listings
    • Detailed product views
    • Product search functionality
    • Category filtering
  • Shopping Cart

    • Add/remove items
    • Quantity management
    • Real-time total calculation
  • AI Shopping Assistant

    • Powered by Gemini 1.5
    • Product-specific advice
    • Real-time chat interface
    • Session-based conversations
    • Personalized recommendations

🛠 Prerequisites

  • Xcode 15.0+
  • iOS 16.0+
  • macOS Ventura+
  • Swift 5.9+
  • Google Cloud Account (for Vertex AI)
  • Firebase Project

📲 Installation & Setup

  1. Firebase and Vertex AI Setup

  2. Swift Package Manager

    • In Xcode, go to File → Add Packages
    • Add https://github.com/firebase/firebase-ios-sdk
    • Select Firebase Core and Firebase Vertex AI dependencies

⚠️ Important Note

This is a demo application created for educational purposes during the Google Developer Group session. For production use:

  • Please refer to the official Firebase documentation for the most up-to-date setup information
  • Implement proper security measures
  • Follow Firebase best practices
  • Add proper error handling
  • Implement user authentication

Documentation: Firebase Documentation

📄 License

This project is licensed under the MIT License - see the LICENSE.md file for details


This demo was created for the Google Developer Groups on Campus Chulalongkorn University - Bangkok, Thailand. Follow GDG for more events and workshops!

About

A SwiftUI shopping app demo showcasing Firebase Vertex AI integration with Gemini model, presented at Google Developer Group session. Features AI shopping assistant, product catalog, and cart management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages