Ubuntu Server VPS

Full Web Server Setup Guide

Deploy your SnapReels API, Database, and Web Frontend cleanly on a fresh Ubuntu 22.04 or 24.04 server in minutes using our automated installer.

⚡

Server & Environment Requirements

Before launching your VPS deployment, ensure your virtual private server meets these hardware and software specifications:

đŸŸĸ Node.js Runtime

Node.js: v18.17.0+ / v20.x LTS (Recommended) / v22.x LTS

Package Manager: NPM v9+ / PM2 (Process Manager)

đŸšĢ PHP Not Required

PHP Version: Not Needed (0% PHP)

100% Modern Next.js 15 Full-Stack React & TypeScript SaaS architecture.

đŸ’ģ Hardware (RAM / CPU / Disk)

RAM: 1 GB Minimum (2 GB+ Recommended for production)

CPU: 1 vCPU Minimum (2+ vCPUs Recommended)
Disk: 10 GB+ SSD / NVMe Storage

🍃 Database

MongoDB: v5.0, v6.0, or v7.0+

Local MongoDB service or Cloud MongoDB Atlas cluster

âš™ī¸ OS & Proxy

OS: Ubuntu 20.04 / 22.04 / 24.04 LTS (or Debian 11/12)

Reverse Proxy: Nginx + Free Let's Encrypt SSL (Certbot)

📱 Android Client

IDE: Android Studio Hedgehog (2023.1.1)+

JDK: Java 17 or Java 21 (LTS)
Target SDK: Android 14 (API level 34)

1

Prepare Application Files

Log in to your VPS terminal via SSH. The first step is to create a folder directory dedicated to our application:

VPS Terminal
mkdir -p /var/www/snapreels

Next, use an SFTP program (like FileZilla or WinSCP) or the command line to upload your downloaded snapreels.zip file directly into this new directory (/var/www/snapreels).

Once uploaded, install the unzip tool and extract your files using the following commands:

VPS Terminal
sudo apt-get update && sudo apt-get install -y unzip cd /var/www/snapreels unzip snapreels.zip
2

Automated Installation Script

We provide an automated shell script that installs all prerequisites (Node.js, MongoDB 7.0, Nginx, PM2 processes) and configures SSL security for HTTPS.

â„šī¸

Find CodeCanyon Script Source

Locate the install.txt file in your downloaded CodeCanyon package before writing the script below.

Step 2.1: Create the script file: In your terminal, run the following command to edit a new script file:

VPS Terminal
nano install.sh

Step 2.2: Paste content: Copy the full content inside your install.txt file and paste it into the editor screen. Press Ctrl + X, then Y, then Enter to save and exit.

Step 2.3: Make executable and run: Run these commands to trigger the automated installation wizard. Input your custom domain name and admin email when prompted:

VPS Terminal
chmod +x install.sh ./install.sh
3

Finalize Setup Wizard

When the shell script completes, it will output a Web Setup wizard link. Copy and visit this link on your web browser to finish creating the databases, admin account and system tables.

🎉

Automatic Server Configurations Configured

✓
SSL Secure (HTTPS) Active
✓
MongoDB 7.0 Active
✓
PM2 Process Monitor Status
✓
Secure Database User Made