Almost there.

Your server is up. Run the four steps below, then upload the React build to finish setup.

Live status
Checking server…
Setup steps
1

Create the MariaDB database

cPanel → MySQL Databases. Create a database and user (both named momentum). Grant ALL PRIVILEGES.

2

Run the installer

cPanel → phpMyAdmin → select your database → SQL tab. Paste the contents of install.sql and click Go. Re-runnable — won't overwrite data.

3

Edit api/db.php

Update DB_NAME, DB_USER, DB_PASS, and ALLOWED_ORIGINS with your real credentials and domain.

4

Upload the React build

Build the Momentum app with Vite (npm run build). Upload the contents of dist/ into public_html/. This index.html will be replaced by the real app.

After install completes, delete install.sql from public_html and consider removing api/ping.php.