Create a MongoDB DataSource in LoopBack
In this lesson we will create a dynamic datasource in LoopBack. If the API is started with the environment variable
MONGODB_URL it will use this url and the
loopback-connector-mongodb package to store the data in MongoDB.
In the course we will use a local MongoDB instance. If you don't have MongoDB running locally you can always create a free MongoDB Atlas database.