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

Development Tools

Iago Wandalsen Prates
Iago Wandalsen Prates
21,699 Points

What Database should I use for a forum

I'm building a forum and my backend will be on Node. What is the best database for it? I mean, it makes sense for me making a SQL database, but is there any reason I could want to use something like Mongo instead?

The site would have users, who can create new topics, and comment/vote on existing ones, there would be different categories, for the topics, and I will implement a trending search, for topics that received lots of upvotes lately

1 Answer

Ricky Catron
Ricky Catron
13,023 Points

I like MySQL it is well documented and used frequently in the industry.

Mongo is a big up and comer that I have not worked with yet but it seems intriguing.

If you are building with a team I would reccomend an SQL based database simply because it is well know and works the same every time.

I you are building a personal project and wishing to try new things by all means use Mongo!

Whichever you pick please return to this and update it with your choice, reasoning and experiance so others can use your valuable insight. Personally I would love to hear a review of Mongo.