Skip to content

Simple demo app using the MongoDB Atlas Operator on k8s

License

Notifications You must be signed in to change notification settings

pixie-io/mern-k8s

 
 

Repository files navigation

MERN & Kubernetes Atlas Operator Demo Application

This repository contains the sample application for the Application Deployment in Kubernetes with the MongoDB Atlas Operator tutorial.

How To Run

  1. 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 src/back/.env to your Connection String, and assign a port:
CONN_STR=mongodb+srv://<username>:<password>@sandbox.jadwj.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
PORT=3000
  1. Start the Express server:
cd src/back
npm install
npm install -g nodemon
nodemon server
  1. Start the React app:
cd src/front
npm install
npm start

TravelDemoVid

Disclaimer

Use at your own risk; not a supported MongoDB product

About

Simple demo app using the MongoDB Atlas Operator on k8s

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.2%
  • HTML 16.9%
  • Python 6.8%
  • Shell 4.0%
  • CSS 2.1%