This sample demonstrates deploying a Parse-server app to Google App Engine Flexible Environment.
- 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.
git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git
cd appengine/parse-server
npm install
- Set the necessary environment variables.
npm start
- Set the necessary environment variables.
npm run deploy
Refer to the appengine/README.md file for more instructions on running and deploying.