M220JS: MongoDB for JavaScript Developers(Chapter 0 of 4)

Chapter 0: Introduction and Setup

Build an application: mflix

  • Create and share database connections
  • Write data with different levels of durability
  • Handle errors from the driver

Stack: Node + Express + MongoDB + React

MongoDB URI

mongodb+srv://brigitte:bardot@xyz-1234.srv.net/admin
mongodb+srv://<username>:<password>@<host>/<database>
mongodb+srv://<username>:<password>@<host>/<database>?retryWrites=true

Setting Up Atlas