Need a playground with minimal dependencies to test db designs and debug mongoose
yarnBy default it will use mongodb-memory-server, no need to configure mongodb
In case you want to interact with a normal mongodb, run
yarn dockerIt will start a local mongodb for you
- Use VScode open index.js and edit your test cases
- Set breakpoints/console.log
- Press F5 to inspect the results
There are 2 debuger configurations, one uses mongodb-memory-server, another uses docker mongodb.