Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/supabase-community/postgrest-swift
Swift client for PostgREST
https://github.com/supabase-community/postgrest-swift
postgrest supabase swift
Last synced: 3 months ago
JSON representation
Swift client for PostgREST
- Host: GitHub
- URL: https://github.com/supabase-community/postgrest-swift
- Owner: supabase-community
- License: mit
- Created: 2021-01-05T12:32:47.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T17:53:45.000Z (about 1 year ago)
- Last Synced: 2024-10-26T11:22:27.876Z (3 months ago)
- Topics: postgrest, supabase, swift
- Language: Swift
- Homepage:
- Size: 136 KB
- Stars: 44
- Watchers: 6
- Forks: 17
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Postgrest Swift
> [!WARNING]
> This repository is deprecated and it was moved to the [monorepo](https://github.com/supabase-community/supabase-swift).
> Repository will remain live to support old versions of the library, but any new updates **MUST** be done on the monorepo.[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsupabase-community%2Fpostgrest-swift%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/supabase-community/postgrest-swift)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsupabase-community%2Fpostgrest-swift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/supabase-community/postgrest-swift)## Installation
Swift client for [PostgREST](https://postgrest.org). The goal of this library is to make an "ORM-like" restful interface.
### Swift Package Manager
Add `postgrest-swift` as a dependency to your `Package.swift` file. For more information, please see the [Swift Package Manager documentation](https://github.com/apple/swift-package-manager/tree/master/Documentation).
```swift
.package(url: "https://github.com/supabase/postgrest-swift", from: "1.0.2")
```### Supabase
You can also install the [ `supabase-swift`](https://github.com/supabase/supabase-swift) package to use the entire supabase library.
## Usage
Check integration tests for usage examples: [IntegrationTests.swift](/Tests/PostgRESTIntegrationTests/IntegrationTests.swift)## Contributing
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes and merge## License
This repo is liscenced under MIT.