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 Build a REST API With Express Modeling Data for the API Connecting Mongoose to MongoDB

How do you start mongo server? You don't mention it in the video.

How do you start mongo server? You don't mention it in the video.

Alessandro Calorì
Alessandro Calorì
10,241 Points

Actually he does in the previous videos of this course.

I watched all the videos, pretty sure he doesn't.

Alessandro Calorì
Alessandro Calorì
10,241 Points

You're right. He talks about it in the "Mongo basics" course. Sorry, I'm following the JS track and I mixed the videos... :P

4 Answers

Run the following command in the terminal.

mongod

-bash: mongod: command not found

Which is weird, cause I did npm install as he did in the video.

Kristofer Doman you did npm install of Mongoose, but do you have Mongo installed?

The manual is very helpful for newbie.. Thanks, Mira Chen