From the course: Advanced Express

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Setting up a hosted MongoDB server

Setting up a hosted MongoDB server

From the course: Advanced Express

Start my 1-month free trial

Setting up a hosted MongoDB server

- [Instructor] On many websites, you find a form for users to register an account and set a password. And in this chapter, we are going to build exactly that. To store the users we will use MongoDB and for that we need access to a MongoDB server. While it's easy to spin up a MongoDB server on a Linux box, it can be hard on other operating systems like Windows. Additionally, a production setup usually requires at least three nodes to form a cluster. If you don't want to set this up, you can use a hosted solution. For this course we will use MongoDB Atlas. It's a hosted solution directly from the creators of MongoDB and it offers a free tier that is sufficient for our purposes. So let's set this up, look up MongoDB Atlas in a search engine and then you will end up on a page like you see it here. And here you will simply select get started for free and create an account. I already created an account and logged in. And you should find yourself then on a page like this where you can create…

Contents