If you are planning to use these components along with your proprietary code then please refer below information.
Mongodb:
- It's a database.
- This component is governed by the Affero General Public License (AGPL) license.
- If you link this component along with your proprietary code then you have to release your entire source code in the public domain, because of it's viral effect like (GPL, LGPL etc)
- If you are hosting your application over the cloud, the (2) will apply and also you have to release your installation information to the end users.
Mongoose:
- It's an object modeling tool.
- This component is governed by the MIT license.
- Allowed to use this component along with the proprietary code, without any restrictions.
- Shipping your application using any media or host is allowed.