Movie app built with SwiftUI
- Onboarding
- Search movies (with regions filter)
- Localization
- Sign In
- Save movies into favourite list
- Remove movies from favourite list
- Widget
Untitled.mp4
- MVVM pattern
- Unit Testing
- UI Testing
- UrlSession for API integration
- Create a swift file (eg: APIKeys.swift) in the
Models/
directory, and add the following code: - Create and start your own backend server (for testing Stripe payment feature) Backend source code.
import Foundation
struct Keys {
static let apiToken = "API_TOKEN_FROM_MOVIEDB_API"
static let username = "USERNAME_FROM_MOVIEDB_API"
static let pw = "PASSWORD_FROM_MOVIEDB_API"
static var stripePublishToken: String {
#if DEBUG
"STRIPE_PUBLISH_KEY_FOR_TESTING"
#else
"STRIPE_PUBLISH_KEY_FOR_PRODUCTION"
#endif
}
}