B
B
Bilkash2020-07-03 13:37:10
Node.js
Bilkash, 2020-07-03 13:37:10

Where to host a Node.js bot?

There is a small bot that takes data from OpenWeather and issues a small set of data to the user. Where and how can it be hosted? I tried it on GCP and Heroku, but most likely due to inattention or lack of experience, I missed some steps and failed to complete my plan.
I ask for help and advice in this area, how to host a bot on the above sites or other hosting options (preferably free).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-07-03
@Bilkash

Bilkash , what kind of bot in general, what should he answer?
for Heroku, the requirements are minimal, only that there is an npm start script in package.json

"scripts": {
    "start": "node mybot.js"  // вот такой
  },

try throwing hello world and deploying to heroku, just to see how the site will respond to a get request from the browser

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question