Octagram is a SwiftUI GitHub client that lets you search for users and inspect their profiles, followers, and following lists. The project targets iOS and consumes the public GitHub REST API.
- Xcode 15 or later
- iOS 17 SDK (minimum deployment target 17.0)
- A valid GitHub REST API base URL string (
https://api.github.com) provided via theGitHubAPIBaseURLkey in the app'sInfo.plist - Active internet connection
- Clone the repository:
git clone https://github.com/a-elnajjar/octagram.git cd octagram - Open
octagram.xcodeprojin Xcode. - Ensure the
GitHubAPIBaseURLentry exists in Info.plist (it should be set tohttps://api.github.com). - Run the Octagram scheme on the iOS Simulator or a physical device.
OctagramApp.swift– Application entry point.ContentView.swift– Hosts the root navigation stack.Search/– Search feature views andSearchViewModel.UserProfile/– User profile screen andUserProfileViewModel.UsersList/– Followers/following list UI and data fetching.Models/– API response models.APIClient.swift– Shared networking layer backed byURLSession. he limitations above and include unit/UI tests where applicable.