Hi all, I am new on Render, I am trying to deploy my first app on the free tier. While the deployment process reports successfully, my app doesn’t work on the given link. Some more details about the app. It includes WebSockets and on those, I bind OSC messaging protocol. Running on Express and NodeJS. The command I use for render deploy: is node server.js
. In my server.js file, I have changed the way of port selection, as needed in the render deployment process. That is, let PORT = process.env.PORT || 8000;
My server file is at the top of the root directory of the Git repo. My HTML app which I normally then open in my browser would be something like this /public/main/index.html (including all .js files attached and required). A tree view of my directory is below, which I am thinking might be my issue.
├── public
│ ├── client
│ │ ├── Ball.js
│ │ ├── index.css
│ │ ├── index.html
│ │ └── sketch.js
│ ├── data
│ │ └── lib.js
│ ├── lib
│ │ ├── freqs.js
│ │ └── lib.js
│ ├── main
│ │ ├── data.json
│ │ ├── index.css
│ │ ├── index.html
│ │ ├── like_button.js
│ │ ├── neuralNet.js
│ │ ├── osc-sc.js
│ │ ├── randomLinkScript.js
│ │ ├── slider.js
│ │ ├── sound.js
│ │ ├── text_input.js
│ │ └── trainModel_backup.js
│ └── model
│ ├── model.json
│ ├── model.weights.bin
│ └── model_meta.json
├── server.js
└── src