Architecture: Clean Swift
- Clone repository
- Navigate to the root of the project
cd Shifty
- Install dependencies
carthage bootstrap --platform ios
- Add Config.swift file in
ShiftPlanningAPI/Sources/Config.swift
andClipCardAPI/Sources/Config.swift
public struct Config {
#if DEBUG
static let apikey: String = "API-KEY TEST-ENV"
#else
static let apikey: String = "API-KEY PROD-ENV"
#endif
}
public struct Config {
#if DEBUG
public static let email: String = "ADMIN EMAIL TEST-ENV"
public static let password: String = "ADMIN PASSWORD TEST-ENV"
#else
public static let email: String = "ADMIN EMAIL PROD-ENV"
public static let password: String = "ADMIN PASSWORD PROD-ENV"
#endif
}