Latest0.1.1
Homepagehttps://github.com/BrunoScheltzke/firebase-generic-api-client
LicenseMIT
Platformsios 10.0
DependenciesFirebase/Database, Sourcery
Authors

firebase-generic-client

License

This project demonstrates how to use metaprogramming and swift generics to create a client-side iOS app avoiding all the boilerplate of a usual client-side aplication. It is a simple app that manages your pets with all CRUD operations.
It is just a matter of creating a type, conforming it to my FirebaseFetchable protocol, building it and start CRUDing objects.

Alt Text

Installation

To run this example project, clone the repo, and run pod install

Requirements

You will need to setup Firebase. Go to the Firebase Website and get your plist file (GoogleService-Info.plist) as well as the dashboard setup. Very easy and quick. After that, download the plist file and attach it to the project. If you need help, check out their tutorial https://firebase.google.com/docs/ios/setup?authuser=0.

Author

BrunoScheltzke, [email protected]

Check out the Medium post on how everything works

License

firebase-generic-api-client is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FirebaseGenericClient",
    "version": "0.1.1",
    "summary": "All the work needed for a simple firebase-based client side app",
    "description": "This app generates custom methods for your models to be able to crud into Firebase",
    "homepage": "https://github.com/BrunoScheltzke/firebase-generic-api-client",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Bruno Scheltzke": "[email protected]"
    },
    "source": {
        "git": "https://github.com/BrunoScheltzke/firebase-generic-api-client.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": [
        "ApiClient/AutoGenerated/Firebase.generated.swift",
        "ApiClient/Model/Fetchable.swift",
        "ApiClient/Model/Makeable.swift",
        "ApiClient/Api/FirebaseCrudable.swift"
    ],
    "dependencies": {
        "Firebase/Database": [
            "~> 4.0.0"
        ],
        "Sourcery": [
            "~> 0.13.0"
        ]
    }
}

Pin It on Pinterest

Share This