{"id":15136630,"url":"https://github.com/appwrite/playground-for-swift","last_synced_at":"2025-10-19T15:32:30.484Z","repository":{"id":39862134,"uuid":"414512075","full_name":"appwrite/playground-for-swift","owner":"appwrite","description":"Simple examples that help you get started with Appwrite + Swift for Server (=❤️)","archived":false,"fork":false,"pushed_at":"2024-10-15T11:30:45.000Z","size":73,"stargazers_count":31,"open_issues_count":1,"forks_count":2,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-01-31T18:45:42.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appwrite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-07T08:01:47.000Z","updated_at":"2024-12-23T06:16:16.000Z","dependencies_parsed_at":"2022-08-27T17:20:31.165Z","dependency_job_id":null,"html_url":"https://github.com/appwrite/playground-for-swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appwrite%2Fplayground-for-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appwrite%2Fplayground-for-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appwrite%2Fplayground-for-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appwrite%2Fplayground-for-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appwrite","download_url":"https://codeload.github.com/appwrite/playground-for-swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237163067,"owners_count":19265207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-09-26T06:40:20.928Z","updated_at":"2025-10-19T15:32:25.199Z","avatar_url":"https://github.com/appwrite.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playground for Swift\n\nSimple examples that help you get started with Appwrite + Swift (=❤️)\n\nThis is Appwrite server side integration with Swift. For Apple integration please look at our [Apple playground](https://github.com/appwrite/playground-for-apple-swiftui) and [Apple SDK](https://github.com/appwrite/sdk-for-apple)\n\n### Work in progress\n\nAppwrite playground is a simple way to explore the Appwrite API and Appwrite Swift SDK. Use the source code of this page to learn how to use different Appwrite Swift SDK features.\n\n## Get Started\nThis playground doesn't include any Appwrite best practices, but rather intended to show some of the most simple examples and use cases of using the Appwrite API in your Swift application.\n\n## System Requirements\n* An Appwrite instance.\n* Create a project in Appwrite instance using console\n* Generate a secret key in the Appwrite instance using console\n\n### Installation\n1. Clone this repository\n2. Open `Sources/PlaygroundForSwiftServer/main.swift` file\n3. Copy the project id, endpoint, secret key from the Appwrite Console\n4. Update project id, endpoint, secret key by copying from the console in the `Sources/PlaygroundForSwiftServer/main.swift` file\n5. Run the playground:\n    - Xcode:\n        - Click **Run** with the `PlaygroundForSwiftServer` scheme selected\n    - Command Line:\n        - Execute `swift run` in the root of the repository\n    - Docker:\n        - Execute `docker compose up` \n6. You will see the JSON response in the console\n\n### API Covered in Playground.\n* Create Collection\n* List Collection\n* Delete Collection\n* Add Document\n* List Documents\n* Upload File\n* Delete File\n* Create Function\n* List Function\n* Delete Function\n* Create User\n* List User\n* Delete User\n\n## Contributing\n\nAll code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.\n\nWe truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the [contribution guide](https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md).\n\n## Security\n\nFor security issues, kindly email us [security@appwrite.io](mailto:security@appwrite.io) instead of posting a public issue in GitHub.\n\n## Follow Us\n\nJoin our growing community around the world! Follow us on [Twitter](https://twitter.com/appwrite), [Facebook Page](https://www.facebook.com/appwrite.io), [Facebook Group](https://www.facebook.com/groups/appwrite.developers/) or join our [Discord Server](https://appwrite.io/discord) for more help, ideas and discussions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappwrite%2Fplayground-for-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappwrite%2Fplayground-for-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappwrite%2Fplayground-for-swift/lists"}