MongoDB

Meteor currently forces you to use MongoDB. For those new to MongoDB, it is a nosql database and stores data as JSON objects. So a 'row' in the database for a team would look like:

{
 _id: 1,
 name: 'Team name'
}

This is handy, because it's just like what we use in Javascript. For those coming from an SQL background, I recommend reading this SQL to MongoDB Mapping Chart (actually everyone should really read it - or bookmark it at least for when you want to write a complex query).

Instead of a static array we want our teams to be persisted in the Mongo database. To do this, we need to create a collection.