Using Express with a NoSQL Database
Connect Express to MongoDB Atlas with the native driver and query documents.
Express.js + MongoDB (Native Node.js Driver)
Relational databases (SQL) store data as tables with rigid columns and rows. NoSQL databases offer a more flexible and adaptable structure, particularly useful when data is too dynamic to fit in rows and columns.
MongoDB organizes data into collections (analogous to tables) composed of documents (analogous to rows). Documents are stored in BSON (Binary JSON) format, making them very similar to JSON objects.
Sign in to read this course
A free account unlocks all 514 courses. 20 are readable without one.
What's inside
7 sections- 1 Table of Contents
- 2 Module 1 — Intro to MongoDB and Atlas
- 3 Module 2 — Connect MongoDB to Express
- 4 Module 3 — Work with Documents: Query Language Basics
- 5 Architecture and Diagrams
- 6 Project Structure
- 7 Reference Tables
More Node.js, APIs & Microservices courses
View all 16Node.js: The Big Picture
An overview of Node.js — its architecture, ecosystem, LTS model and real-world use cases.
Build a REST API with Node and Express
Build a RESTful API with Express — read endpoints, project architecture and full CRUD.
Node.js: File System, Streams, Async I/O, Uploads and Pipes
Modern file-system operations, streams, data piping and automation for document processing.
Node.js: Deploying Applications
Deploy Node apps to a VPS, manage runtime with PM2, monitor logs and look ahead to NGINX/Docker.
Relational Databases with Express and Sequelize
Build a RESTful bookstore API with Express, the Sequelize ORM, models and relationships on SQLite.
Node.js Microservices Advanced Topics and Best Practices
Node.js is at the forefront of modern web applications, enabling the creation of solutions that are both scalable and high-performance. This course is an in-depth journey into Node.js mic...
Interested in this course?
Contact us to book it or get a custom training plan for your team.