Node.js, MongoDB, and Express.js
Next, I studied MongoDB, a noSQL database. I looked through some resources and articles, and lucky for me, Traversy Media created a crash course for MongoDB. The MongoDB Crash Course gave really good, detailed insight into MongoDB. MongoDB is not complicated at all, just different. For example, I’m used to working with Rails APIs. With a Rails API, you create the table schemas (including data type), you have to include relationships (in the migration table as well as the model), and you have to set up your controller (and the actions). With MongoDB, there is no ‘table’ and the schema does not need to be defined beforehand. Data ( or an object) is stored in documents. Documents are saved as collections (equivalent of tables in relational databases). The developer creates a name for each collection (users, posts, etc). Next, I am moving onto the Express.js Crash Course next by (you guessed it) Traversy Media. So far, I know that Express.js is a Node.js server-side or back-end framework. I’m excited to build an app using Express.js and MongoDB.