DEPLOYMENT INSTRUCTIONS FOR CPANEL

This web app is designed to be compatible with BOTH Static Hosting and Node.js Hosting on cPanel.

OPTION 1: STATIC HOSTING (Easiest & Recommended)
------------------------------------------------
Since all the crypto logic has been moved to the frontend, you can host this as a simple static site.
1. Unzip "buyback-site.zip".
2. Open the "dist/public" folder.
3. Upload ALL files inside "dist/public" (including .htaccess) to your cPanel's "public_html" folder.
4. Done! Your site is live.

OPTION 2: NODE.JS HOSTING (Advanced)
------------------------------------
If you prefer to run a Node.js server (or if your cPanel requires it):
1. Upload the entire unzipped "buyback-site" folder to your hosting.
2. Go to "Setup Node.js App" in cPanel.
3. Create a new application.
   - Application Root: path to your uploaded folder
   - Application URL: your domain
   - Application Startup File: dist/index.cjs
4. Click "Run NPM Install".
5. Click "Start App".

DEVELOPMENT (EDITING)
---------------------
1. Install Node.js on your computer.
2. Unzip the project.
3. Run "npm install" in the project folder.
4. Run "npm run dev" to start the editing server at http://localhost:5000.
5. Edit files in "client/src".
6. Run "npm run build" to generate the new "dist" folder for deployment.
