Simple examples that help you get started with Appwrite + Swift for Server (=❤️)

Overview

Playground for Swift

Simple examples that help you get started with Appwrite + Swift (= ❤️ )

This is Appwrite server side integration with Swift. For Apple integration please look at our Apple playground and Apple SDK

Work in progress

Appwrite 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.

Get Started

This 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.

System Requirements

  • You have readily available Appwrite running instance (localhost in most cases).
  • Create a project in Appwrite instance using console
  • Generate a secret key in the Appwrite instance using console

Installation

  1. Clone this repository
  2. Open Sources/PlaygroundForSwiftServer/main.swift file
  3. Copy the project id, endpoint, secret key from the Appwrite Console
  4. Update project id, endpoint, secret key by copying from the console in the Sources/PlaygroundForSwiftServer/main.swift file
  5. Run the main function in the file
  6. You will see the JSON response in the console

API Covered in Playground.

  • Create Collection
  • List Collection
  • Delete Collection
  • Add Document
  • List Documents
  • Upload File
  • Delete File
  • Create Function
  • List Function
  • Delete Function
  • Create User
  • List User
  • Delete User

Contributing

All 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.

We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.

Security

For security issues, kindly email us [email protected] instead of posting a public issue in GitHub.

Follow Us

Join our growing community around the world! Follow us on Twitter, Facebook Page, Facebook Group or join our Discord Server for more help, ideas and discussions.

You might also like...
Sandwhich is a mobile app built to solve the sandwich debate by determining if the picture you've taken is a sandwich using machine learning
Sandwhich is a mobile app built to solve the sandwich debate by determining if the picture you've taken is a sandwich using machine learning

Sandwhich Website | Twitter Sandwhich is a mobile app built to solve the sandwich debate by determining if the picture you've taken is a sandwich usin

I have build a beautiful egg timer app to boil your eggs to perfection depending on how you prefer your eggs.
I have build a beautiful egg timer app to boil your eggs to perfection depending on how you prefer your eggs.

I build this app when taking course in Udemy. The course is "iOS & Swift - The Complete iOS App Development Bootcamp".

Demo of a simple ASP.NET Core web API written in Swift

Welcome! This repo is a demo which shows the use of Llama Swift with ASP.NET Core. Llama is my exploratory project to compile "other languages" for .N

Demonstration code for a simple Swift property-wrapper, keypath-based dependency injection system. The keypaths ensure compile-time safety for all injectable services.

Injectable Demo Preliminary musings and demonstration code for a simple Swift property-wrapper, keypath-based dependency injection system. The keypath

Simple Application that registers Vapor Leaf's .leaf file type to LaunchServices as html enabling automatic syntax highlighting in Xcode.
Simple Application that registers Vapor Leaf's .leaf file type to LaunchServices as html enabling automatic syntax highlighting in Xcode.

Vapor Leaf Extension Update: The Vapor Leaf Extension is now meant to be used with the Xcode Plugin I designed to provide Xcode language support for t

A simple iOS app with one default and four custom transitions.
A simple iOS app with one default and four custom transitions.

A simple iOS app with one default and four custom transitions. The app uses the same two view controllers for every transition.

this is Simple Dictionary App

this is Simple Dictionary App

Github Finder is simple app
Github Finder is simple app

Github-Finder-App this is simple app i used api from GitHub i used in project 3rd party library Called KingFisher use this command to install first:-

Comments
  • Feat 1.0.0

    Feat 1.0.0

    What does this PR do?

    Update to 1.0.0

    Test Plan

    Manual test

    Related PRs and Issues

    (If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

    Have you read the Contributing Guidelines on issues?

    Yes

    opened by abnegate 0
Owner
Appwrite
End to end backend server for frontend and mobile developers. 👩‍💻👨‍💻
Appwrite
IOS Swift : Explain Higher-order Function Examples

IOS Swift : Explain Higher-order Function Examples

Aya Baghdadi 0 Feb 20, 2022
Complete SwiftUI Docs with Examples

?? SwiftOnTap Complete SwiftUI Docs with Examples. Get Started | How It Works | Add Docs Get Started To get started, Go to swiftontap.com ?? . Press /

null 553 Dec 29, 2022
Combine explanation + examples

Combine Playground These repository contains a Xcode Playground that goes over the basics of Combine and presents usage examples for the main componen

Andrés Pesate 2 Dec 29, 2021
 Sample iOS App - A collection of examples and patterns for Unit Testing, UI Testing, handling Result/Optionals, writing documentation

 Sample iOS App - A collection of examples and patterns for Unit Testing, UI Testing, handling Result/Optionals, writing documentation, and more

Soojin Ro 206 Dec 9, 2022
📏 A set of advanced compositional layouts for UICollectionView with examples

compositional-layouts-kit If you like the project, please give it a star ⭐ It will show the creator your appreciation and help others to discover the

Astemir Eleev 378 Dec 27, 2022
Flix is an app the uses the the movies database to get upcoming movies, with infinite scrolling

Flix Flix is an app the uses the the movies database to get upcoming movies, with infinite scrolling Libraries Flix uses Swift Package Manager (SPM),

null 0 Oct 31, 2021
Klik - A simple iOS app that helps you with counting things

Klik - A simple iOS app that helps you with counting things

Rostislav Brož 4 Dec 30, 2022
Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's performance better.

RxSwift-Multi-Threading-Example Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's perf

Huy Trinh Duc 6 Nov 4, 2022
TransartistryApp is an application that will allow you to transform your photos and images into paintings of great artists

TransartistryApp TransartistryApp is an application that will allow you to transform your photos and images into paintings of great artists. Descripti

Matvey Boykov 1 Jan 19, 2022