egghead.io
  1. 1
    Initialize a LoopBack Node.js Project through the CLI
    1m 17s
  2. 2
    Create a model to persist data in a Node.js LoopBack API
    3m 1s
  3. 3
    Persist in-memory data to a file when developing Node.js LoopBack API's
    43s
  4. 4
    Setup a development mode in LoopBack API using nodemon
    29s
  5. 5
    Create a relation between two LoopBack models
    3m
  6. 6
    Define a remote method on a LoopBack model
    2m 18s
  7. 7
    Add validation rules to a model in LoopBack API
    2m 8s
  8. 8
    Add unit tests to a LoopBack API project
    3m 21s
  9. 9
    Add Operation Hooks to a LoopBack model
    2m 39s
  10. 10
    Configure ACL’s to protect the LoopBack API
    2m 59s
  11. 11
    Create a boot script to run code at the start of a LoopBack API
    2m 37s
  12. 12
    Create a MongoDB DataSource in LoopBack
    1m 44s
  13. 13
    Create a free database on MongoDB Atlas
    1m 20s
  14. 14
    Filter model data in LoopBack
    1m 16s
  15. 15
    Deploy a LoopBack API project using now.sh
    2m 41s

Create a MongoDB DataSource in LoopBack

Bram Borggreve
InstructorBram Borggreve
  • loopback
    Loopback^3.0.0
  • node
    Node.js

Share this video with your friends

Send Tweet

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.

illustration for Build a Node.js REST API with LoopBack

Course

Build a Node.js REST API with LoopBack

Build your Developer Portfolio and climb the engineering career ladder.
  • Search
  • Talks
  • Podcasts
  • Machine
  • Pricing
  • Store
©egghead.io
Terms & Conditions