Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Express web app using cloud code

160 views

Published on

This tutorial will guide you and describe how to create an express web application using Parse Server and Back4App cloud code.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Express web app using cloud code

  1. 1. back4app.com Build your express web app using Cloud Code
  2. 2. Step 1: Enable your domain nameon Back4app • Contact our support service to enable your domain name. • We will send you the url once the domain name is ready. • You can read the original publication on: • http://docs.back4app.com/docs/integrations/build-your-express-web-app- using-cloud-code/
  3. 3. Step 2: Prepare your express web app Code • In this article, I use the hello world official express web app example. • For more detail about expressjs, go to ExpressJS. • And then upload your code to Cloud Code
  4. 4. Step 2: Prepare your express web app Code
  5. 5. How to use the Parse Cloud Function with expressJS? • This is the sample code of how to use Parse Cloud Function
  6. 6. How to use the Parse Cloud Function with expressJS? • You can access it via http://”AppName”.back4app.io/someFunction • You’ll reach http://parseapi.back4app.com/functions/someFunction with your credentials • Which is similar to how you test your cloud code with Restful API.
  7. 7. Step 3: Test it
  8. 8. Step 3: Test it • In the server log.

×