Skip to content

Commit ee51950

Browse files
committed
Update README.md
1 parent 19863a1 commit ee51950

File tree

1 file changed

+11
-67
lines changed

1 file changed

+11
-67
lines changed

README.md

Lines changed: 11 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -87,71 +87,19 @@ That's it! You are now running a standalone version of Parse Server on your mach
8787

8888
**Using a remote MongoDB?** Pass the `--databaseURI DATABASE_URI` parameter when starting `parse-server`. Learn more about configuring Parse Server [here](#configuration). For a full list of available options, run `parse-server --help`.
8989

90-
### Saving your first object
90+
### Getting started with SDKs
9191

92-
Now that you're running Parse Server, it is time to save your first object. We'll use the [REST API](http://docs.parseplatform.org/rest/guide), but you can easily do the same using any of the [Parse SDKs](http://parseplatform.org/#sdks). Run the following:
92+
Now that you're running Parse Server, it is time to save your first object. Parse Server has a broad range of [SDKs](http://parseplatform.org/#sdks) you can use to connect to your server.
9393

94-
```bash
95-
$ curl -X POST \
96-
-H "X-Parse-Application-Id: APPLICATION_ID" \
97-
-H "Content-Type: application/json" \
98-
-d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
99-
http://localhost:1337/parse/classes/GameScore
100-
```
101-
102-
You should get a response similar to this:
103-
104-
```js
105-
{
106-
"objectId": "2ntvSpRGIK",
107-
"createdAt": "2016-03-11T23:51:48.050Z"
108-
}
109-
```
110-
111-
You can now retrieve this object directly (make sure to replace `2ntvSpRGIK` with the actual `objectId` you received when the object was created):
112-
113-
```bash
114-
$ curl -X GET \
115-
-H "X-Parse-Application-Id: APPLICATION_ID" \
116-
http://localhost:1337/parse/classes/GameScore/2ntvSpRGIK
117-
```
118-
```json
119-
// Response
120-
{
121-
"objectId": "2ntvSpRGIK",
122-
"score": 1337,
123-
"playerName": "Sean Plott",
124-
"cheatMode": false,
125-
"updatedAt": "2016-03-11T23:51:48.050Z",
126-
"createdAt": "2016-03-11T23:51:48.050Z"
127-
}
128-
```
129-
130-
Keeping tracks of individual object ids is not ideal, however. In most cases you will want to run a query over the collection, like so:
131-
132-
```bash
133-
$ curl -X GET \
134-
-H "X-Parse-Application-Id: APPLICATION_ID" \
135-
http://localhost:1337/parse/classes/GameScore
136-
```
137-
```json
138-
// The response will provide all the matching objects within the `results` array:
139-
{
140-
"results": [
141-
{
142-
"objectId": "2ntvSpRGIK",
143-
"score": 1337,
144-
"playerName": "Sean Plott",
145-
"cheatMode": false,
146-
"updatedAt": "2016-03-11T23:51:48.050Z",
147-
"createdAt": "2016-03-11T23:51:48.050Z"
148-
}
149-
]
150-
}
151-
152-
```
153-
154-
To learn more about using saving and querying objects on Parse Server, check out the [Parse documentation](http://docs.parseplatform.org).
94+
- [Getting started with iOS](https://docs.parseplatform.org/ios/guide/#getting-started)
95+
- [Getting started with Android](https://docs.parseplatform.org/android/guide/#getting-started)
96+
- [Getting started with JavaScript](https://docs.parseplatform.org/js/guide/#getting-started)
97+
- [Getting started with .NET + Xamarin](https://docs.parseplatform.org/dotnet/guide/#getting-started)
98+
- [Getting started with macOS](https://docs.parseplatform.org/macos/guide/#getting-started)
99+
- [Getting started with Unity](https://docs.parseplatform.org/unity/guide/#getting-started)
100+
- [Getting started with PHP](https://docs.parseplatform.org/php/guide/#getting-started)
101+
- [Getting started with Arduino](https://docs.parseplatform.org/arduino/guide/#getting-started)
102+
- [Getting started with Embedded C](https://docs.parseplatform.org/embedded_c/guide/#getting-started)
155103

156104
### Connect your app to Parse Server
157105

@@ -282,7 +230,3 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
282230
Support us with a monthly donation and help us continue our activities. [Become a backer!](https://opencollective.com/parse-server#backer)
283231

284232
<a href="https://opencollective.com/parse-server#backers" target="_blank"><img src="https://opencollective.com/parse-server/backers.svg?width=890" /></a>
285-
286-
-----
287-
288-
As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.

0 commit comments

Comments
 (0)