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


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,