Skip to Main Content
Build a Recipe iOS App with Oracle Backend for Firebase

About This Workshop

Youtube Video

About This Workshop
In this hands-on workshop, learners build RecipeShare, a SwiftUI iOS app powered by Oracle Backend for Firebase. Starting from a starter Xcode project, participants connect the app to a local Oracle Backend for Firebase environment, add the Fusabase iOS SDK, implement authentication, query and write recipe data, upload photos from the iOS photo picker, and secure the app with database and storage security rules.

Workshop Info

1 hour, 30 minutes
  • Introduction
  • Review the RecipeShare app architecture, learning objectives, estimated workshop time, required tools, and the end-to-end flow: create a Fusabase project, connect the iOS app, add auth, read/write recipe data, upload photos, and secure the backend.
  •  
  • Lab 1: Create Your First Project
  • Use the Oracle Backend for Firebase console to create a project and publish starter database and storage rules.
  •  
  • Lab 2: Connect the iOS App
  • Clone the starter app, open it in Xcode, add the Fusabase iOS SDK package, register the iOS app, paste the generated config, and run the app in the iOS Simulator.
     
  • Lab 3: Authentication
  • Implement sign-up, sign-in, sign-out, and auth state listening with FusabaseAuth.
  •  
  • Lab 4: Read Recipe Data
  • Use the database SDK to query the recipes collection with filtering, sorting, and limits, then display recipe data in SwiftUI.
  •  
  • Lab 5: Write Recipe Data
  • Create new recipes, add ratings in a subcollection, and update aggregate rating fields.
  •  
  • Lab 6: Photo Upload
  • Upload recipe images from the iOS photo picker to Fusabase Storage, retrieve a download URL, and save it to the recipe document.
  •  
  • Lab 7: Security Rules
  • Implement recipe editing, observe the risk of permissive rules, then add owner-based database rules and authenticated storage upload rules.
  •   - macOS computer
  •   - Xcode 16 or later
  •   - iOS Simulator runtime installed or available through Xcode
  •   - Internet access for cloning repositories and resolving the Swift Package dependency
  •   - Basic familiarity with Swift, SwiftUI, and Xcode

     

Other Workshops you might like

Other Workshops you might like Cards