Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Putting my node.js app online

So, the last two months I've been developing a Node.js app for a course in school, and on Monday it needs to be online so that my teachers can have a look at it.

How can I do this? I could really need some help here.

Thanks in advance!

Note: I'm using Mongodb for my database.

like image 823
holyredbeard Avatar asked Dec 21 '22 21:12

holyredbeard


2 Answers

Do you have an always-on internet connection (e.g. DSL/cable) and are behind a router? Then you can NAT the ports your node.js app is listening on to your computer, make sure to check windows firewall as well.

Now your app is online on your private computer!

like image 168
daan_tallguys Avatar answered Dec 24 '22 00:12

daan_tallguys


I've found Heroku is easy and free to host a node.js app with MongoDB.

like image 26
Yusuf X Avatar answered Dec 24 '22 00:12

Yusuf X