Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

How would I be able to use the final app on an online server to show publicly?

How would I be able to use the final app on an online server to show publicly?

2 Answers

Özgür Ozan Çakmak
Özgür Ozan Çakmak
11,451 Points

All you need is ftp access and a ftp software to upload your project. I don't know the specifics of your folder structure but you should upload the files in your project folder, which usually consists from:

  • index.html
  • js folder
  • css folder
  • other html files

then you should be able to access your project from your online server's web address.

Yeah I have used FTP software before to upload to a host server my files, but for the structure of a NODE JS app it seems the host server has to have NODE JS installed for it to recognize the program begins with the file of app,js. I have tried HEROKU but for the final app of the JavaScript course of 'Build a Dynamic Site with Node JS', it doesn't work.