{"id":51038334,"url":"https://github.com/durellwilson/apple-fullstack-template","last_synced_at":"2026-06-22T08:32:30.582Z","repository":{"id":324441681,"uuid":"1087335641","full_name":"durellwilson/apple-fullstack-template","owner":"durellwilson","description":"Modern iOS 18+ / macOS 15+ full-stack template with SwiftData, Observation, Swift 6.0","archived":false,"fork":false,"pushed_at":"2025-11-15T20:01:58.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-15T22:05:56.751Z","etag":null,"topics":["bootstrap","ios18","macos15","swift","swiftdata","swiftui","template"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/durellwilson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-31T18:30:58.000Z","updated_at":"2025-11-15T20:01:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/durellwilson/apple-fullstack-template","commit_stats":null,"previous_names":["durellwilson/apple-fullstack-template"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/durellwilson/apple-fullstack-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durellwilson%2Fapple-fullstack-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durellwilson%2Fapple-fullstack-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durellwilson%2Fapple-fullstack-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durellwilson%2Fapple-fullstack-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/durellwilson","download_url":"https://codeload.github.com/durellwilson/apple-fullstack-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durellwilson%2Fapple-fullstack-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34641636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","ios18","macos15","swift","swiftdata","swiftui","template"],"created_at":"2026-06-22T08:32:27.720Z","updated_at":"2026-06-22T08:32:30.577Z","avatar_url":"https://github.com/durellwilson.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apple Full-Stack Template\n\nModern iOS 18+ / macOS 15+ full-stack application template with SwiftData, Observation, and latest Apple frameworks.\n\n## 🚀 Features\n\n### Swift 6.0\n- Strict concurrency\n- Actor isolation\n- Sendable types\n- Data race safety\n\n### SwiftUI (iOS 18 / macOS 15)\n- `@Observable` macro\n- `@Query` for SwiftData\n- Navigation stack\n- Toolbar modifiers\n\n### SwiftData\n- `@Model` macro\n- Automatic persistence\n- Relationships\n- Queries\n\n### Modern Patterns\n- Actor-based networking\n- Async/await throughout\n- Environment values\n- Type-safe models\n\n## 📦 Installation\n\n### As Template\n```bash\ngit clone https://github.com/durellwilson/apple-fullstack-template.git MyApp\ncd MyApp\nopen Package.swift\n```\n\n### As Package\n```swift\ndependencies: [\n    .package(url: \"https://github.com/durellwilson/apple-fullstack-template.git\", from: \"1.0.0\")\n]\n```\n\n## 🏗️ Project Structure\n\n```\nSources/\n├── App.swift           # Main app entry\n├── Models.swift        # SwiftData models\n├── ViewModel.swift     # Observable view models\n└── NetworkService.swift # Actor-based networking\n```\n\n## 🎯 Quick Start\n\n### 1. Create Xcode Project\n```bash\n# iOS App\nxcodebuild -project MyApp.xcodeproj -scheme MyApp -destination 'platform=iOS Simulator,name=iPhone 15 Pro'\n\n# macOS App\nxcodebuild -project MyApp.xcodeproj -scheme MyApp -destination 'platform=macOS'\n```\n\n### 2. Add SwiftData Models\n```swift\n@Model\nfinal class Product {\n    var name: String\n    var price: Double\n    \n    init(name: String, price: Double) {\n        self.name = name\n        self.price = price\n    }\n}\n```\n\n### 3. Use in Views\n```swift\nstruct ProductList: View {\n    @Query private var products: [Product]\n    @Environment(\\.modelContext) private var context\n    \n    var body: some View {\n        List(products) { product in\n            Text(product.name)\n        }\n    }\n}\n```\n\n## 🌟 Apple Frameworks Included\n\n### Foundation\n- URLSession with async/await\n- JSONEncoder/Decoder\n- Date, UUID\n\n### SwiftUI\n- Navigation\n- Lists\n- Forms\n- Toolbars\n\n### SwiftData\n- Persistence\n- Queries\n- Relationships\n\n### Observation\n- `@Observable` macro\n- Automatic UI updates\n\n## 🎨 Customization\n\n### Add CloudKit Sync\n```swift\n.modelContainer(for: [Item.self], inMemory: false, isAutosaveEnabled: true, isUndoEnabled: true)\n```\n\n### Add Widgets\n```swift\nimport WidgetKit\n\nstruct MyWidget: Widget {\n    var body: some WidgetConfiguration {\n        StaticConfiguration(kind: \"MyWidget\", provider: Provider()) { entry in\n            MyWidgetView(entry: entry)\n        }\n    }\n}\n```\n\n### Add App Intents\n```swift\nimport AppIntents\n\nstruct AddItemIntent: AppIntent {\n    static var title: LocalizedStringResource = \"Add Item\"\n    \n    func perform() async throws -\u003e some IntentResult {\n        // Add item logic\n        return .result()\n    }\n}\n```\n\n## 🔧 Advanced Features\n\n### Combine with Vapor (Server-Side Swift)\n```swift\n// Server\nimport Vapor\n\nfunc routes(_ app: Application) throws {\n    app.get(\"items\") { req async throws -\u003e [Item] in\n        // Return items\n    }\n}\n```\n\n### Add Push Notifications\n```swift\nimport UserNotifications\n\nfunc requestNotificationPermission() async {\n    try? await UNUserNotificationCenter.current()\n        .requestAuthorization(options: [.alert, .sound, .badge])\n}\n```\n\n## 📱 Platform Support\n\n- ✅ iOS 18+\n- ✅ macOS 15+\n- ✅ watchOS 11+\n- ✅ tvOS 18+\n- ✅ visionOS 2+\n\n## 🎓 Learning Resources\n\n- [SwiftData Documentation](https://developer.apple.com/documentation/swiftdata)\n- [Observation Framework](https://developer.apple.com/documentation/observation)\n- [Swift 6 Migration Guide](https://www.swift.org/migration/documentation/swift-6-concurrency-migration-guide/)\n\n## 🤝 Contributing\n\nBuilt for Detroit's Swift community. Contributions welcome!\n\n## 📝 License\n\nMIT License\n\n---\n\n**Built with ❤️ for modern Apple development** 🍎\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurellwilson%2Fapple-fullstack-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdurellwilson%2Fapple-fullstack-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurellwilson%2Fapple-fullstack-template/lists"}