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! While you're at it, check out some resources Treehouse students have shared here.

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

Lucas Santos
Lucas Santos
19,315 Points

Uploading the backend to a Web App

Lets say I have an Express/Node API Backend that is complete and handles all of the HTTP requests.

Now lets imagine that I have a domain called MyApp.com

My question is when uploading a web app to the server in Heroku would you only upload the Nodejs Backend then the Frontend through a regular FTP like a website? Or would you upload both Front and Backend onto Heroku?

I'm curious because a Web App is sort of like a website on the Frontend, only distinct difference would be the Nodejs backend to the Web App. Therefor I imagine the Frontend like a regular website making JSON calls to the Backend in Heroku. Am I correct about this?