This video is available to students only
- TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two
- Setting up our Database
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.
This page is a preview of TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two
- Seed & Clear Data from MongoDB
Contents