Add some data
Great demo that adds the next layer of awesome to this workshop. Adding a Mongo DB to the project to make a simple i/o UX.
My favorite thing about MongoDB is that it uses JSON for its structure, which means it was instantly familiar for me. If you’re not familiar with JSON, you’ll need to do some reading, as I’m afraid that’s outside the scope of this tutorial.
Let’s add a record to our collection. For the purposes of this tutorial, we’re just going to have a simple database of usernames and email addresses. Our data format will thus look like this:
{
"_id" : 1234,
"username" : "cwbuecheler",
"email" : "cwbuecheler@nospam.com"
}
Anyone out there willing to help put the rest of this together, I would love a Pull Request!