Tiny Mongoose walkthrough that models a simple university example and demonstrates two ways to compute an average: an instance method on the document and a MongoDB aggregation pipeline.
git 🚀 https://github.com/dupontdenis/mongoose-agregation.git
Tiny Mongoose walkthrough that models a simple university example and demonstrates two ways to compute an average: an instance method on the document and a MongoDB aggregation pipeline.
git 🚀 https://github.com/dupontdenis/mongoose-agregation.git
git 🛩️ https://github.com/dupontdenis/let-s-start-mongoAPI.git
🚀Applications pour tester l'API !
Pensez à bien lancer le serveur dans un terminal
Simple : https://dupontdenis.github.io/testAPI/
🎯 Learning Objectives
This repository is a **hands-on tutorial** designed to teach you the fundamentals of Mongoose, the popular MongoDB object modeling library for Node.js. Through practical examples, you'll learn how to:
git 🛩️
This repository is designed to teach you about two different ways to implement many-to-one relationships in MongoDB using Mongoose. We'll use a classic example: Authors and Books.
https://github.com/dupontdenis/mongoose-one-two-many.git
Contrairement à mongodb qui ne permet pas de valider un schéma mongoose propose de nombreuses option de validation
lire : 🚀La validation Mongoose
➤ Follow the Database Tools Installation Guide to install mongoimport.
😈 Run mongoimport from the system command line, not the mongo shell.
Example
Il existe un fichier de config pour mongodb
https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-net.bindIp
Vous pourrez ainsi vous connecter avec l'écriture localhost