I am trying to deploy a full stack MERN application on render. I was able to get the front end application working through the static site. However, the backened application is giving me an error even though it was successfully deployed.
Backend Settings: Build Command: npm install Start Command: node index.js
Frontend Settings: Build Command: npm run build Start Command: build
Hi there
What would you want the response to be? The server seems to be up and running, there is just no routes configured in your express app for the root.
You’re code is probably something like
app.use('/something, (req, res) => { // do stuff }))`
so the backend would give a response on /something but not on /
/something
/
To what routes is your front-end code making requests to.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.