Reply To: How to Deploy Node JS Application on Parse Server?

#13680
PeekTimes
Keymaster

Hey Lisa! Your question sounds interesting. Undoubtedly, there are several platforms including Heroku that permits businesses and developers to set up an application on Parse Server. Likewise, it is seamless to deploy Node.js applications on Heroku.

Hereof, after creating an app and choosing a database on Heroku, you just connect with GitHub and integrate with Parse Server or parse-server-example.

You can also use standard REST API to deal with this situation. Here is an example:

curl -X POST \
-H "X-Parse-Application-Id: myAppId" \
-H "Content-Type: application/json" \
-d '{}' \
https://example.herokuapp.com/parse/functions/hello
..
{"result":"Hi"}%

On the contrary, you can also utilize Back4App to deploy the Node.js app on Parse Server. Mainly, Back4App allows you to proceed with a free plan but Heroku is paid now. Although this source can help you to provide all details about deploying a Node.js app but if I share the core points then see the following steps:

– Create a new app on Back4App and give it a name
– After proceeding with the cloud code function, you can act upon this structure:

nodejs-back4app/ ├── cloud/ │ └── main.js ├── public/ │ └── index.html ├── .parse.local └── .parse.project

– Now, you can activate the Back4App hosting
– Modify directly with the cloud
– Select database, and app logic and deploy the app

 

Copyright © 2020 - 2022 PeekTimes.com. All Rights Reserved.

Log in with your credentials

Forgot your details?