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 User Authentication With Express and Mongo What is Authentication? Setting Up the Project

Michael Liendo
Michael Liendo
15,326 Points

Answer: How to get the *real* starter files.

The starter files have been updated, and the teacher's notes don't include the originals. So here's how to get the starter files mentioned in the video:

1) git clone the repo from https://github.com/treehouse-projects/javascript-authentication-with-express-and-mongo 2) cd into the repo folder 3) run the command: git checkout 383485c95b6ecf41233edb04f78fcd1d0bf71a61 --note that the blob of numbers and letters is the commit id 4) run npm install 5)That's it!

Where is the repo?

Michael Liendo
Michael Liendo
15,326 Points

Misery Manstel, Thanks, I updated it to include the link

3 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

I had no problems downloading the complete set of starter files from the "Project Download" under the Downloads Tab. It downloads a zip file that once opened allows you to pick the folder containing the starter files based on where you are in the course. If you pick s1v4, you have the 'skeleton' files for the very beginning of the course.

This download also included incremental steps (folders that advance the code as you advance, so you could open s2v5, for example and would be up-to-speed with the video and the code). This is great for reference and/or a 'reset' of your code. :)

:dizzy:

Abraham Juliot
Abraham Juliot
47,353 Points

What error are you getting?

This worked for me:

This **"1) git clone the repo from https://github.com/treehouse-projects/javascript-authentication-with-express-and-mongo 2) cd into the repo folder 3) run the command: git checkout 383485c95b6ecf41233edb04f78fcd1d0bf71a61 --note that the blob of numbers and letters is the commit id 4) run npm install 5)That's it!"**

doesn't appear to work!!

Yeah didn't work for me either. Can't seem to figure out what Team Tree House did wrong....again