I have worked on a project and its in my local. I have used express framework with socket and other packages.
I'm new to this and not sure what deployment options we have. I see some options like AWS, Heroku and etc. Heroku looks simple.. but at one of the step they are asking to publish to git and clone from there.. I was wondering why do we need to publish to git to deploy it to production.
Currently I have my app in my machine and I run usually by node app.js. I'm not using any data bases. Can any one guide me how do I go about it?