{"repo":"CleverCloud/expressjs-mongodb-statsd-example","free":true,"listed":false,"github":"https://github.com/CleverCloud/expressjs-mongodb-statsd-example","clone":"git clone https://github.com/CleverCloud/expressjs-mongodb-statsd-example.git","description":"Run Express.js with MongoDB and StatsD on Clever Cloud","language":"JavaScript","stars":42,"topics":["nodejs","mongodb","statsd","clevercloud-example","expressjs"],"license":null,"category":"analytics","readme_excerpt":"Express.js REST + MongoDB + StatsD Example Application on Clever Cloud This is a simple Express.js application that demonstrates how to build a CRUD web app backed by MongoDB with StatsD metrics, and deploy it to Clever Cloud. Why MongoDB 4.0.3? In October 2018, MongoDB Inc. switched the server license from the open-source GNU AGPL v3 to the Server Side Public License (SSPL), starting with version 4.2. The SSPL is not recognized as open source by the OSI and imposes restrictions that are incompatible with how cloud providers operate. As a result, major Linux distributions (Debian, Fedora, RHEL...) dropped MongoDB from their repositories, and most cloud providers stopped offering newer versions. Clever Cloud chose to stay with MongoDB 4.0.3 , the last version released under the truly open-source AGPL v3 license. This means the Mongoose ODM version used in your application must remain compatible with MongoDB 4.0. In practice, this limits us to Mongoose 6.x , since Mongoose 7+ requires MongoDB 4.4 at minimum. This is why the package.json pins \"mongoose\": \"^6.13.9\" . Despite the official compatibility table claiming Mongoose 7 and 8 support MongoDB 4.0.x, they bundle MongoDB Node.js driver 5+ and 6+ respectively, which require wire protocol version 8 (MongoDB 4.2+). Only Mongoose 6 (driver 4.x) works with MongoDB 4.0.3's wire protocol version 7. About the Application This application is a simple value list where you can add or delete entries. It uses: - MongoDB for data persisten","default_branch":null,"files":null,"tree":[],"storefront":"/r/CleverCloud","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CleverCloud/expressjs-mongodb-statsd-example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}