Guides
Seeding the Database
Populate your local database
Step 1: Build a Dictionary
The following command places the JSON dictionaries in the build/
directory:
Here’s an example JSON dictionary file: ig-en/ig-en_expanded.json
Step 2: Populate the MongoDB Database
Now that the data has been parsed, it needs to be used to populate, or seed, the MongoDB database.
Start the development server:
Then make a POST
request to the following route:
After about 20 seconds, if you see the ✅ Seeding successful.
message in
your terminal, then you have successfully populated your database.
Verify database seeding was successful
Install one of the options on your machine to view the seeded data
Option 1: Download MongoDB Compass
Option 2: Install MongoDB VSCode extension
Connect to your local mongodb cluster using this connection: