Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _includes/graphql/objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ mutation createAGameScore {
"clientMutationId": "anUniqueId",
"gameScore": {
"id": "R2FtZVNjb3JlOjZtdGlNcmtXNnY=",
"updatedAt": "2019-12-02T10:14:28.786Z",
"createdAt": "2019-12-02T10:14:28.786Z",
"updatedAt": "2022-12-02T10:14:28.786Z",
"createdAt": "2022-12-02T10:14:28.786Z",
"playerName": "Sean Plott",
"score": 1337,
"cheatMode": false,
Expand Down
22 changes: 0 additions & 22 deletions _includes/parse-server/Files-Migration.md

This file was deleted.

201 changes: 0 additions & 201 deletions _includes/parse-server/MongoRocks.md

This file was deleted.

37 changes: 0 additions & 37 deletions _includes/parse-server/ParsePlatform.md

This file was deleted.

23 changes: 15 additions & 8 deletions _includes/parse-server/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ If you have not used MongoDB before, we highly recommend familiarizing yourself

The Mongo requirements for Parse Server are:

* MongoDB version 3.6
* An SSL connection is recommended (but not required).
* MongoDB version 4.0 or newer
* An SSL connection is recommended (but not required)

If this is your first time setting up a MongoDB instance, we recommend a Database-as-a-Service (DBaaS) like [MongoDB Atlas](https://www.mongodb.com/cloud/atlas) or [ObjectRocket](https://objectrocket.com/) which provide fully managed MongoDB instances and can help you scale as needed.

Expand All @@ -23,8 +23,15 @@ In order to allow for better scaling of your data layer, it is possible to direc

The Postgres requirements for Parse Server are:

* Postgres version 9.5
* PostGIS extensions 2.3
* PostgreSQL 11
* PostGIS 3.0, 3.1 or 3.2

or

* PostgreSQL 12 or newer
* PostGIS 3.2

[PostGIS](https://postgis.net) required if you plan to use geographic or location features.

The postgres database adapter will be automatically loaded when you pass a valid postgres URL, for example: `postgres://localhost:5432`. The available configuration options through the URL are:

Expand All @@ -44,8 +51,8 @@ Details about the configuration options can be found on [pg-promise](https://git
* You will need to configure a [file adapter](#configuring-file-adapters) in order to store files.
* Join tables are resolved in memory, there is no performance improvements using Postgres over MongoDB for relations or pointers.
* Mutating the schema implies running ALTER TABLE, therefore we recommend you setup your schema when your tables are not full.
* The postgres URL for 4.2.0 and below only supports the following configuration options:
* The postgres URL for Parse 4.2.0 and below only supports the following configuration options:

```
postgres://localhost:5432/db?ssl=boolean&client_encoding=string&application_name=string&fallback_application_name=string&poolSize=number&binary=boolean&keepAlive=boolean
```
```
postgres://localhost:5432/db?ssl=boolean&client_encoding=string&application_name=string&fallback_application_name=string&poolSize=number&binary=boolean&keepAlive=boolean
```
32 changes: 32 additions & 0 deletions _includes/parse-server/deploying-aws-bitnami.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## Deploying on AWS using Bitnami AMI

Here are the steps:

1. Log into your AWS account or create a new one [AWS Account](https://aws.amazon.com/premiumsupport/knowledge-center/create-and-activate-aws-account/)
2. Go to AWS EC2 Dashboard
3. Launch Instances
4. On **Application and OS Images (Amazon Machine Image)** search for `Parse`
5. Select **Parse Server packaged by Bitnami**
6. Click `Continue`
7. On **Instance Type** select `t2.micro` (is ok for testing and small projects which is Free tier eligible)
8. Create or select an existing `key pair`. (If you create a new one click `Download Key Pair`)
9. Click `Launch Instance`
10. On **EC2 Dashboard** select the new created instance and click `Connect`
11. Click `SSH Client` and follow the instructions

Login into the ec2 instance we perform the following commands:

```bash
cd stack/parse
```
```bash
cat config.json
```

That will show Parse configuration details, save those details for later.

<!-- WIP -->

<!-- https://docs.bitnami.com/aws/apps/parse/ -->
<!-- https://www.youtube.com/watch?v=H7KL_VKbSBM -->
<!-- https://www.youtube.com/watch?v=5WkaGuZ35jM -->
Loading