Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You don’t need to post anything on GitHub, or rather, you need to store the source codes there, so you kill two birds with one stone - Remote storage of your code with versions, and also ...
Heroku !
Convenient, free cloud service. Perfect for development.
Just attach your github repository to it and get automatic deployment with each push to origin/master , this is, by the way, the second hare.
Most importantly, do not forget to create Procfile
and write the following line in the root of the application:
web: npm run start:prod
Or, if you like yarn:
web: yarn start:prod
Heroku automatically looks for build scripts in package.json and builds your application on its own, there is no need to bother.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question