Parse Server is a free and open-source Backend-as-a-Service platform developed by Facebook. It is written in Node.js and can be used for any application running Node.js. Parse Server comes with a simple and easy-to-use web interface that can be used for data manipulation, to view analytics, and to schedule and send push notifications.
In this tutorial, we will show you how to install Parse Server on Ubuntu 20.04.
A fresh Ubuntu 20.04 VPS on the Atlantic.net Cloud Platform
A root password configured on your server
Step 1 – Create Atlantic.Net Cloud Server
First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Ubuntu 20.04 as the operating system with at least 1GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.
Once you are logged in to your Ubuntu 20.04 server, run the following command to update your base system with the latest available packages.
apt-get update -y
Step 2 – Install MongoDB
By default, MongoDB is available in the Ubuntu 20.04 default repository. You can install it by running the following command:
apt-get install mongodb-server -y
Once the MongoDB is installed, you can verify the status of MongoDB with the following command:
systemctl status mongodb
You should see the following output:
● mongodb.service - An object/document-oriented database
Loaded: loaded (/lib/systemd/system/mongodb.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-08-06 07:32:44 UTC; 30s ago
Main PID: 3222 (mongod)
Tasks: 23 (limit: 4691)
└─3222 /usr/bin/mongod --unixSocketPrefix=/run/mongodb --config /etc/mongodb.conf
Aug 06 07:32:44 ubuntu2004 systemd: Started An object/document-oriented database.
Step 3 – Install Node.js
By default, Node.js is not available in the Ubuntu 20.04 default repository, so you will need to add Node.js repository to your system. You can add it with the following command:
You can also access the parse server dashboard by visiting the URL http://your-server-ip:4040 in your web browser. You should see the following screen:
Provide your admin username and password which you have defined in the Parse dashboard configuration file and click on the Login button. You should see the Parse server dashboard in the following screen:
In this guide, you learned how to install Parse Server and Parse Dashboard in Ubuntu 20.04 server. You can now build your mobile application’s backend with Parse Server on a VPS Hosting account from Atlantic.Net!