Parse Server Getting Started
Parse Server is an open source backend or an API server module that can be deployed to any infrastructure that can run Node.js.
If you have installed Websoft9 Parse Server, the following steps is for your quick start
Preparation
- Get the Internet IP of your Server on Cloud
- Check your Inbound of Security Group Rule of Cloud Console to ensure the TCP:80,9091 is allowed
- Get default username and password of Parse Server
- Complete Five steps for Domain if you want to use Domain for Parse Server
Parse Server Initialization
Steps for you
Since Parse cannot be visited by IP, so your should bind Domain name for it first
Refer to Domain binding to complete it now
-
Using local Chrome or Firefox to visit the URL http://domain name, go to login Parse Dashboard
-
Input username and password(view credentials) and go to the Console page
-
Suggest you to modify the Parse Dashboard's password now
More useful Parse Server guide, please refer to Parse Server Documentation
Having trouble?
Below is for you to solve problem, and you can contact Websoft9 Support or refer to Troubleshoot + FAQ to get more.
Parse Server QuickStart
More guide about Parse Server, please refer to Parse Server Documentation
Parse Server Setup
Each of the following solutions has been proven to be effective and we hope to be helpful to you.
Domain binding
Please complete the domain name resolution work before the domain name is bound, and confirm that the resolution is successful.
Parse Server domain name binding steps:
- Use SSH to connect your Cloud Server and run the following command
wget https://raw.githubusercontent.com/Websoft9/ansible-Parse-Server/master/script/parse-set-domain.sh && chmod +x parse-set-domain.sh &&./parse-set-domain.sh
- Enter two different domain names as prompted
Input Parse Server Domain: parseserver.websoft9.com
Input Parse Dashboard Domain: parsedashboard.websoft9.com - If there is no problem with the domain name format, you will get a success message "Configure Done!"
- Domain binding completed
Domain modify
Modifying a domain name is different from binding a domain name. Please strictly refer to the following steps:
- Using SFTP to connect Cloud Server
- Modify the the two Domain name in the file /etc/nginx/conf.d/default.conf
- Modify the the one Domain name in the file /etc/parse-server/parse-dashboard.json
- Restart Service like below
sudo systemctl restart parse-dashboard
sudo systemctl restart parse-server
sudo systemctl restart nginx
Modify Parse Dashboard Credentials
Parse Dashboard's credentials is in its configuration file, refer to the following steps to modify it
- Use SSH or SFTP tool to connect Cloud Server
- Edit * /etc/parse-server/parse-server.json* file and modify users item
"users": [
{
"user":"admin",
"pass":"admin"
} ] - Restart Parse Dashboard Service
systemctl restart parse-dashboard
Reference sheet
The below items and General parameter sheet is maybe useful for you manage Parse Server
Path
Parse Server
Parse Server installation directory: /usr/lib/node_modules/parse-server
Parse Server configuration file: /etc/parse-server/parse-server.json
Parse Server logs directory: /var/log/parse-server
The database connection information is in the Parse Server configuration file, once you have changed the database you should change the configuration also
Parse Dashboard
Parse Dashboard installation directory: /usr/lib/node_modules/parse-server
Parse Dashboard configuration file: /etc/parse-server/parse-server.json
Parse Dashboard logs: you can view the logs on the Parse Dashboard Console
Port
Port | Use | Necessity |
---|---|---|
80 | HTTP requests for Parse Server | Required |
443 | HTTPS requests Parse Server | Optional |
20217 | Remote connect MongoDB | Optional |
9091 | Web managment GUI for MongoDB | Optional |
Version
You can see the version from product page of Marketplace.
Service
sudo systemctl start | stop | restart | status parse-server
sudo systemctl start | stop | restart | status parse-dashboard