Search posts, tags, users, and pages
There are several ways to host your Node API on Heroku. A common method is using the Heroku CLI which can get complicated especially for a beginner. But did you know, you can host your app without even downloading the CLI. I know right? All you nee...
Tolu Olawumi
@toluolawumi · Lagos, Nigeria
Markdown supported · ⌘↵ to post
Obong Daniel
Hi, what variables are we to set on the Reveal config part? I set it to the port number I used on my local host and my app crashed.
Hey Daniel,
The variables for the config vars are all the variables you set in your .env file like your connection string and port. In your code, did your set your port like this: process.env.PORT || 6000.
Yes, I did. And that's what I set it with. But my app crashed. Tolu Olawumi
Hey Daniel Obong Daniel , were you able to resolve this?
Ayobami Oguntolu
Awesome! super easy.
Obong Daniel
Hi, what variables are we to set on the Reveal config part? I set it to the port number I used on my local host and my app crashed.