This video is available to students only

Module 4 Summary

This lesson is a summary of the work done in Module 4.0.

In this module, we've established a connection between our Node server and the Mongo database with which we've created and set up in a database as a service known as MongoDB Atlas. Our database credentials are declared in a .env file to decouple environment-specific configuration and application code as well as to avoid committing our database configuration as part of our source code.

In the temp/seed.ts file, we've created a seed script that will help populate our database with three mock listings whenever the application seed script is run.

Start a new discussion. All notification go to the author.