Source code for my "how to query and modify MongoDB fields, nested objects and nested arrays" tutorial.
Or follow the link: https://youtu.be/58gAQnU2FTs
- Clone or download to your computer.
- Run
node install
in your terminal to install all the dependencies. - Create .env in the root folder and add
MONGO_URI = mongodb://localhost:27017/our-mongo-query
- Run
npm run start
ornpm run server