If you are wonding how to upload which files to a shared hosting this is the structure to use:

public_html

.htaccess
favicon.ico
index.php
robots.txt

private/laravel

app
bootstrap
config
database
lang
resources
routes
storage
tests
vendor
.editorconfig
.env
.env.example
.gitattributes
.gitignore
AddNewpage-api.sh
artisan
composer.json
composer.lock
package.json
phpunit.xml
README.md
test.php
vite.config.js

Edit index.php to match the path to the private/laravel files

 More helpful info:

6g8G3YQtQt4