Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


dylan kane
dylan kane
2,772 Points

Mongo Database Beginner... need advice

So I am using meteor js to make a social application that involves video games. part of it entails making a database (or so I think) which includes properties unique to each game like genre and stuff like that. It uses mongo db. Where should I start? An example of how it would be used is maybe one game is only on pc so it has that property in its js class, how would I store all this information for a bunch of games in a database? Thanks!

1 Answer

Ken Alger
Ken Alger
Treehouse Teacher


The best practice for designing your data model in MongoDB typically is to think about how your application will be interacting with the data. You didn't go into much detail about what types of data you will be storing so it makes it a bit of a challenge to really give a good direction on what your collection(s) should look like.

I know that Treehouse is scheduled to release a Mongo Basics Course later this month, but in reading through the current course outline I don't see where too much time will be spent on data modeling concepts. You can always take a look at the MongoDB documentation for a general overview.

Post back with further questions.

Happy coding,