Skip to content

RobertiOS/CardFortress

Repository files navigation

CardFortress

codecov Build and Test

Get started

  • clone this repo.
  • run 'pod install`
  • create and account on the app and you're all set.

Features

This app supports multiple data sources, Concrete implementation of these repositories can be found under the CFHelper package inside the Data folder.

Keychain

  • Repository implementation for credit cards
  • Auth Repository Implementation (Currenlty I'm leveraing FireBaseAuth Repository Implementation)

FireBase

  • Repository implementation for credit cards.
  • Auth Repository Implementation.

Core Data

  • Repository implementation for credit cards (Pending)
  • Auth Repository Implementation

SwiftData

  • Repository implementation for credit cards.
  • Auth Repository Implementation.

Other features

  • Onboarding
  • VisonKit to scan credit cards.
  • Creditcard widget
  • Login with biometrics
  • Login with google
  • Login with email
  • Register page
  • Add credit cards page
  • Creditcard list page
  • E2E encryption
  • Account page
  • Settings page
  • Money tracker

Suported deeplinks

  • Sign in: xcrun simctl openurl booted "cardfortress://login?email=yourUser&password=yourPassword"

Todos

  • Improve UI, app colors, styles, icons, etc.
  • Implement some automations for localizable strings, assets, and colors accross all modules on the project.
  • Organize files and make some minor clean ups to align with clean architecture accordingly.

Generating Swift code for resources

  • install swiftgen then run:
    • brew update
    • brew install swiftgen
  • run swiftgen config run, or even just swiftgen in the same location that you have the yaml config file

Installing Swiftlint

  • brew install swiftlint

Architecture

MVVM + Coordinator

image

Design patterns

  • Coordinator
  • Factory
  • Repository
  • Dependency injection

External Dependencies

  • FirebaseAuth: to handle authentication
  • FirebaseFirestore: to store user's account information
  • Swinject: Dependency injection

Screenshots

Screenshot 2024-08-10 at 3 58 52 PM Screenshot 2024-08-10 at 3 58 58 PM

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published