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) Developing Express Apps Like a Boss Adding Routes to the App

I don't know man, I don't see a Mock folder anywhere around in this project even after cloning second time.

Where is the Mock folder?

4 Answers

For the Teacher's Notes method ("git checkout addingRoutesToTheApp"), I had to add a " --force" flag to make it work.

I may have figured this out. If you go to the repo page that is suggested in the teachers notes and then click on branches you'll see that one is name whereFromHere. He hasn't been merging the branches back to the master. The URL for this branch is https://github.com/hdngr/treehouse-express-basics/tree/whereFromHere. I am seeing a Mock folder in this branch in the src folder.

Oh, and kind of buried in the teachers notes is directive to checkout addingRoutesToTheApp which is probably a safer bet.

SCU ACM
SCU ACM
32,134 Points

You could just download a different directory from downloads and work on that. The folder has all the previous work and the mock folder you will need.