This repository contains the sample application for the MongoDB and Express.js REST API tutorial.
- You can follow the Getting Started with Atlas guide, to learn how to create a free Atlas account, create your first cluster and get your Connection String to the database.
Then, set the Atlas URI connection parameter in
server/.env
to your Connection String:
ATLAS_URI=mongodb+srv://<username>:<password>@sandbox.jadwj.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
- Build cd project root (mongodb-express-rest-api-example) run "./build.sh"
- Install we're installing ingress-nginx and the mongo-app helm charts. cd helm folder helm install my-ingress-nginx ingress-nginx/ingress-nginx --version 4.10.1 -f ingress-nginx-values.yaml helm install mongo-app ./mongo-app -f ./mongo-app/values.yaml --debug
Use at your own risk; not a supported MongoDB product