
Explore how MongoDB stores objects as JSON to persist data across sessions and users, and learn to integrate it with Node.js applications using Mongoose.
Build a vehicle creation form submitted via get to a new vehicle route, capture name and color, save to the database, and refresh the home page.
When working with server-side code, it’s very important to be able to persist data across the site. Databases exist to help solve this problem by providing easy ways to integrate and store data. We’ll be looking at MongoDB, one of the leading NoSQL database systems. By storing data as JSON (Javascript Object Notation) objects, integration with NodeJS is very easy! We'll cover how to implement MongoDB and work with the different systems that they provide and then we’ll start integrating it with our Node applications by using Mongoose, a library that has been built specifically for interacting with MongoDB.
Course Includes:
What You'll Learn: