Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

sgr-ksmt/SwiftUI-Firebase-Todo

Repository files navigation

IMPORTANT

This repository has been archived.
New repository is here!!!






SwiftUI-Firebase-Todo

Simple Todo application that using SwiftUI and Firebase(Authentication, Cloud Firestore)

Requirements

  • Xcode 11 beta
  • iOS 13.0 beta
  • SwiftUI
  • bundler
  • CocoaPods
  • yarn

Setup

Install frameworks

$ git clone path/to/project
$ cd path/to/project
$ bundle install
$ bundle exec pod install

Firebase Project

  • Visit Firebase console and create new project.
  • Visit [Develop]->[Authentication] and enable Anonymous sign-in method.
  • Visit [Develop]->[Database] and setup Cloud Firestore.

GoogleService-Info.plist

  • Create iOS app in Firebase Project with bundle ID -.FireTodo-w-SwiftUI
  • Download GoogleService-Info.plist and move to ./FireTodo-w-SwiftUI/Config

Deploy firestore.rules

  • move firebase directory.
  • Change .firebaserc below:
{
  "projects": {
    "default": "<your-project-id>"
  }
}
  • execute commands
$ yarn
$ yarn firebase login
$ yarn firebase deploy --only firestore:rules

Todo

  • Improvement data flow using Combine.
  • Dismiss UserView correctly after user has signed out.

References

Communication

  • If you found a bug, please open an issue. 🙇
  • Also, if you have a feature request, please open an issue. 👍
  • If you want to contribute, submit a pull request.💪

License

SwiftUI-Firebase-Todo is under MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published