I have try to deploy my react app that have a backend and frontend on Plesk that will use MySQL, v5.5.62 and I have getting this 404 error that is saying the endpoint is not found.
Login.jsx:34 GET https://my-url.com/users/count 404 (Not Found)
and after some times it will change the error message to 500 server not found which will display the Phusion Passenger page saying
Web application could not be started by the Phusion Passenger(R) application server
I have created the database twice and the Plesk give me the database ip-Adress:3306 (default for MySQL, v5.5.62) and I have entered my own DB name test2_db and username test2_db_user
can you help me please
how can i make Shure that the database is connected to my react app that have this folder structure
root │
├── backend
│ ├── upload
│ ├── .env
│ ├── package-lock.json
│ ├── package.json
│ ├── server.js
│ └── node_modules
│
│
├── build
├── node_modules
├── public
├── src
│ ├── components
│ ├── app.js
│ ├── index.js
│ ├── reportWebVitals.js
│ └── setupTests.js
├── package.json
└── package-lock.json
naty man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.