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 Express Basics (2015) Serving Static Files in Express Setting Up the Express Static Server in Development

Cezar Mart
Cezar Mart
8,401 Points

I have no clue what Huston is doing.

Trying to follow the Express part of Web Development course. The course was really great until this point. Now, it's simply unwatchable. I have no clue what Huston is doing. Got completely lost and I am at the point of quitting. No Workspaces, no code to follow, no hands-on. He speeds through the utter chaos of his code and it is impossible to learn anything from it. This part of the course NEEDS TO BE REDONE! I really don't want to quit. Please do something!

Cezar Mart
Cezar Mart
8,401 Points

OK, sorry for my yesterday frustration. It took me three times to go through the lesson, plus reading outside resources, to finally understand what Huston was doing. I guess I was spoiled by Andrew's detailed and perfectly paced style. What is missing, however, and should be done is Workspace with current code Huston is working on. His code is in Git repository and to have it you need to checkout the whole lesson structure. The thing is, however, I don't have Git installed, I don't own a git account nor I have any Git knowledge. I am planning to do it some time in the future, but not now. It should not be a required prerequisite. Plus, I don't want to download the entire workspace. I do things differently, my folders are different and I have different sample cases. I need only selected pieces of code from the workspace, not the entire structure.

Cezar Mart
Cezar Mart
8,401 Points

Again: my fault. I didn't check. Yes, you can download the current class code without git. It is in Downloads section on the bottom of the lesson page. I didn't know that then, now I do. I am sorry for my previous frustrated post. I was just too lazy to check...

4 Answers

Huston realizes that we need to develop the ethos and chops of a developer, adopting a "find a way or make a way" mentation. I don't want neat and orderly. The world I am in, and it's corresponding problems, never come packaged in neat and orderly. We have to be able to think and adapt, and I am appreciative that these lessons include that aspect.

fredyrosales
fredyrosales
10,572 Points

That is why you don't us Work Space.

Having a commanding grasp of Git is absolutely vital as a web developer. Version control in one way or another is something you use not just day to day, but hour to hour. Get to know Git sooner rather than later. Familiarize yourself with navigating quickly through your files and folder in the command line. Most courses will start you off with Bash and Git and the like.

If you can confidently pass arguments to callback functions in Express.js you have little to no excuse to not take -- maybe half and hour -- and set up/get a grip on Git.

I understand what he is doing in git/on github its just the way it was branched that made it confusing at first.

I like the git idea in theory but it would be nice to have the workspaces as well. I am having an issue with the git repos not downloading properly/not being able to find the correct branch.