How to Seed Data to a MongoDB Database

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 simple seed script that will make it easy for us to populate the database with mock data in development.

 

Loading...

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

Loading...