This video is available to students only

How to Build a Seed Function to Add Data to MongoDB

Having our database contain some mock data will allow our GraphQL queries and mutations to interact with data from the database. In this lesson, we'll create a scripts to help seed and clear the database of mock data, in development.

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