DEV Community

Discussion on: Seeding a database

klamping profile image
Kevin Lamping

Argh, where was this article last week when I spent two days trying to figure this out :D Well, it was hear, I just didn't know about it! Thanks for sharing how to do this. I ended up using the mongoimport CLI along with a docker-compose file that runs it on startup: