In your Package.swift
file, add the following
.package(
name: "firebase-provider",
url: "https://github.com/Mobinergy/swift-firebase-provider.git",
from: "0.0.1"
)
Register the config and the provider to your Application
let config = FirebaseConfig(apiKey: "API_KEY")
services.register(config)
try services.register(FirebaseProvider())
app = try Application(services: services)
firebaseClient = try app.make(FirebaseClient.self)
Service is configured.
TBD
Vapor Gitlab Provider is available under the MIT license. See the LICENSE file for more info.
To contribute a feature or idea to Gitlab Provider, create an issue explaining your idea.
If you find a bug, please create an issue.