User Panel Setup
Nodejs and Cpanel Hosting
Step 1: create a subdomain
Cpanel > Create a Subdomain (Exp. adminapi.mydomains.com)
Upload the Adminapi folder in the downloaded file to the adminapi.mydomain.com subdomains.
Replace the users.php file in the update v1.1 folder with the users.php file in the public_html/admin/ directory of the site.
Open the admin/users.php file and edit all the domains as adminapi.domain.com according to your own domain name. For example: adminapi.roidbetting.online.
Step 2: Server.js Edit
Open to adminapi.domain.com/server.js
Cpanel to Setup Node.js App
Edit the server.js file in adminapi according to you. Upload the adminsdk.json file into adminapi and change the relevant places in server.js
The same file as I described in the Firebase-Admin-SDK-Folder Upload step. upload and replace in serverjs.
Step 3: Nodejs Setup
Open to Cpanel
Cpanel to Setup Node.js App
Replace the db and user fields with your own information and start the nodejs application
