I am running a Windows-specific version of desktop for community. I assume you have Docker installed and are using Linux (not Windows) containers. Mongo maintains a set of official Docker images. Using containers, you can quickly get up and running with any number of predefined images and services. Note: although I’m focusing on Windows-based steps, the same steps should work fine on macOS and Linux.įortunately, this is precisely the type of scenario Docker was designed to address. There was just one catch: I had no desire to install MongoDB on my Windows 10 machine! The API for MongoDB is supported by Azure Cosmos DB and the demo illustrates how to migrate from a local instance of MongoDB for development purposes to a cloud-based production instance of Cosmos DB. If you aren’t familiar with MongoDB, it’s a very popular and mature document database. Let’s quickly creatine with the express app generator tool, express-generator.Recently, I was working on a demo for an upcoming series of talks that required a (preferably local) instance of MongoDB. Step 1: Setting up our demo Express appĪs a start, we need to create a demo express application. Or using OAuth or OAuth 2.0, like using Facebook, Twitter, Google, and so on.įor more detail check out their documentation.Including a local strategy like using username and password. Passport is nothing but an authentication middleware that supports various strategies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |