/micropets-elephants

Micropets Elephants Service Node/JS MongoDB

Primary LanguageJavaScript

Micropets Elephants

Implements the Micropets API using Node/JS server and MongoDB database either from

The delivery relies on Tanzu Application platform provided by VMware.

The injection of the MongoDB configuration is using service binding specification The project contains a dedicated library to read the data from the Binding Root and load them as Environmnet Variable. The code is a fork from nebhale's GitHub

To change the mongodb provider edit config/workload.yaml and set

  • mongodb-database to micropets-mongodb-azure-credentials for Azure
  • mongodb-database to micropets-mongodb-k8s-credentials for Local Kubernetes

Note: The project was initially forked from https://github.com/CleverCloud/expressjs-mongodb-statsd-example