0.0.1 • Published 6 years ago
appengine-parse-server v0.0.1
Parse-server sample for Google App Engine
This sample shows how to deploy a Parse-server app to Google App Engine Node.js standard environment and flexible environment.
Setup
- Create a project in the Google Cloud Platform Console.
- Enable billing for your project.
- Install the Google Cloud SDK.
- Setup a MongoDB server. Here are two possible options:
- Create a Google Compute Engine virtual machine with MongoDB pre-installed.
- Use MongoLab to create a free MongoDB deployment on Google Cloud Platform.
Downloading Files
git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git
cd appengine/parse-server
Running locally
npm install
- Set the necessary environment variables.
npm start
Deploy to App Engine standard environment
- Set the necessary environment variables.
gcloud app deploy app.standard.yaml
Deploy to App Engine flexible environment
- Set the necessary environment variables.
gcloud app deploy app.flexible.yaml
Refer to the appengine/README.md file for more instructions on running and deploying.
0.0.1
6 years ago