课程: React: Creating and Hosting a Full-Stack Site

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Setting up hosting for MongoDB

Setting up hosting for MongoDB

- [Instructor] All right, so now that we have our front-end and back-end served from the same server, the next thing that we're going to need to do is figure out another alternative for MongoDB, right? Currently we just have MongoDB running in our Codespaces or locally, and that's not going to work, obviously, when we release our application. So, what I'm going to recommend you do is use a hosted solution for MongoDB. And for that, I'm going to be using MongoDB Atlas. It's a free MongoDB hosting platform provided by MongoDB itself. So what you're going to want to do is create an account on MongoDB Atlas, right, which is cloud.mongodb.com currently. Once you've done that, it should take you to a page that looks like this with all of the organizations that you've created. Now, you probably haven't created any organizations yet, so what you're going to want to do is click Create New Organization, and you're just going to need to provide things like a name for the organization as well as…

内容