Skip to content

peterfriese/Swift-Firestore-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues Discussions Feature Requests License LinkedIn


Logo

Swift & Firestore - The Comprehensive Guide

Code for my series about Firestore and Swift
Read the article »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License

About

This project shows how to use Swift's Codable API with Firestore.

Getting Started

Prerequisites

To run this demo, you will need:

  • Xcode 12.x
  • Firebase CLI

Installation

  1. Install Xcode (see https://developer.apple.com/xcode/)
  2. Install the Firebase CLI (see https://firebase.google.com/docs/cli)

Running

You won't have to set up a Firebase project to run this sample, as it makes use of the local emulator suite.

  1. First, launch the Firebase Emulator suite:
    $ ./start.sh
  2. Open the project in Xcode
    $ xed .
  3. Run the iOS project on a local Simulator (so it can connect to the Firebase Emulator)

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the Apache 2 License. See LICENSE for more information.