Skip to content

Commit 0db3d60

Browse files
authored
Update ParseSwift (#26)
1 parent b1c1f30 commit 0db3d60

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

Package.resolved

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
dependencies: [
1717
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "4.76.0")),
1818
.package(url: "https://github.com/netreconlab/Parse-Swift.git",
19-
.upToNextMajor(from: "5.4.1")),
19+
.upToNextMajor(from: "5.5.0")),
2020
],
2121
targets: [
2222
.target(

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Cloud Code in `ParseServerSwift` is easy to use because it’s built using [Pars
1818
and [Vapor](https://github.com/vapor/vapor). `ParseServerSwift` provides many additional benefits over the traditional [JS based Cloud Code](https://docs.parseplatform.org/cloudcode/guide/) that runs on the [Node.js parse-server](https://github.com/parse-community/parse-server):
1919

2020
* Write code with the [Parse-Swift<sup>OG</sup> SDK](https://github.com/netreconlab/Parse-Swift) vs the [Parse JS SDK](https://github.com/parse-community/Parse-SDK-JS) allowing you to take advantage of a modern SDK which is strongly typed
21-
* Runs on a dedicated server/container, allowing the [Node.js parse-server](https://github.com/parse-community/parse-server) to focus on request reducing the burden by offloading intensive tasks and providing a true [microservice](https://microservices.io)
21+
* Runs on a dedicated server/container, allowing the [Node.js parse-server](https://github.com/parse-community/parse-server) to focus on requests reducing the burden by offloading intensive tasks and providing a true [microservice](https://microservices.io)
2222
* All Cloud Code is in one place, but automatically connects and supports the [Node.js parse-server](https://github.com/parse-community/parse-server) at scale. This circumvents the issues faced when using [JS based Cloud Code](https://docs.parseplatform.org/cloudcode/guide/) with [PM2](https://pm2.keymetrics.io)
2323
* Leverage the capabilities of [server-side-swift](https://www.swift.org/server/) with [Vapor](https://github.com/vapor/vapor)
2424

@@ -30,13 +30,13 @@ Setup a Vapor project by following the [directions](https://www.kodeco.com/11555
3030
Then add `ParseServerSwift` to `dependencies` in your `Package.swift` file:
3131

3232
```swift
33-
// swift-tools-version:5.5.2
33+
// swift-tools-version:5.6
3434
import PackageDescription
3535

3636
let package = Package(
3737
name: "YOUR_PROJECT_NAME",
3838
dependencies: [
39-
.package(url: "https://github.com/netreconlab/ParseServerSwift", .upToNextMajor(from: "0.2.0")),
39+
.package(url: "https://github.com/netreconlab/ParseServerSwift", .upToNextMajor(from: "0.7.0")),
4040
]
4141
...
4242
targets: [
@@ -106,10 +106,10 @@ public func configure(_ app: Application) throws {
106106
```
107107

108108
## Starting the Server
109-
`ParseServerSwift` is optimized to run in Docker containers. A sample [docker-compose.yml] demonstrates how to quickly spin up one (1) `ParseServerSwift` server with one (1) [parse-hipaa](https://github.com/netreconlab/parse-hipaa) servers and (1) [hipaa-postgres](https://github.com/netreconlab/hipaa-postgres) database.
109+
`ParseServerSwift` is optimized to run in Docker containers. A sample [docker-compose.yml](https://github.com/netreconlab/parse-server-swift/blob/main/docker-compose.yml) demonstrates how to quickly spin up one (1) `ParseServerSwift` server with one (1) [parse-hipaa](https://github.com/netreconlab/parse-hipaa) servers and (1) [hipaa-postgres](https://github.com/netreconlab/hipaa-postgres) database.
110110

111111
### In Docker
112-
`ParseSwift` depends on `FoundationNetworking` when not built on Apple Platforms. Be sure to add the [following lines](https://github.com/netreconlab/parse-server-swift/blob/e7dbb85e60a9d40d67425dd10d50235cf63f7bae/Dockerfile#L54) to your Dockerfile release stage when building your own projects with `ParseServerSwift`.
112+
`ParseSwift` depends on `FoundationNetworking` when it is not built on Apple Platforms. Be sure to add the [following lines](https://github.com/netreconlab/parse-server-swift/blob/e7dbb85e60a9d40d67425dd10d50235cf63f7bae/Dockerfile#L54) to your Dockerfile release stage when building your own projects with `ParseServerSwift`.
113113
1. Fork this repo
114114
2. In your terminal, change directories into `ParseServerSwift` folder
115115
3. Type `docker-compose up`
@@ -207,7 +207,7 @@ return ParseHookResponse<T>(error: customError) // Be sure to "return" ParseHook
207207
```
208208

209209
### Cloud Code Examples
210-
[Parse-Swift has number of Swift Playgrounds](https://github.com/netreconlab/Parse-Swift/tree/main/ParseSwift.playground/Pages) to demonstrate how to use the SDK. Below are some notable Playgrounds specifically for Cloud Code that can be used directly in `ParseServerSwift`:
210+
[Parse-Swift has a number of Swift Playgrounds](https://github.com/netreconlab/Parse-Swift/tree/main/ParseSwift.playground/Pages) to demonstrate how to use the SDK. Below are some notable Playgrounds specifically for Cloud Code that can be used directly in `ParseServerSwift`:
211211

212212
- [Schema - Create/Update/Delete](https://github.com/netreconlab/Parse-Swift/blob/main/ParseSwift.playground/Pages/20%20-%20Cloud%20Schemas.xcplaygroundpage/Contents.swift)
213213
- [Push Notifications](https://github.com/netreconlab/Parse-Swift/blob/main/ParseSwift.playground/Pages/21%20-%20Cloud%20Push%20Notifications.xcplaygroundpage/Contents.swift)

0 commit comments

Comments
 (0)